[Tizen] Fix typo for size of longCounters
authorGleb Balykov <g.balykov@samsung.com>
Wed, 15 Jun 2022 13:13:02 +0000 (16:13 +0300)
committerGleb Balykov <g.balykov@samsung.com>
Tue, 27 Sep 2022 12:50:22 +0000 (15:50 +0300)
src/coreclr/tools/mcj-edit/mcj-edit.py

index 2cc145f..99db99d 100644 (file)
@@ -291,7 +291,7 @@ class HeaderRecord: # pylint: disable=too-many-instance-attributes
                 raise InternalError()
 
         for i in self._longCounters:
-            if (i < 0 or i > Utility.getMaxForNBytes(RuntimeTypeSizes.short)):
+            if (i < 0 or i > Utility.getMaxForNBytes(RuntimeTypeSizes.int)):
                 raise InternalError()
 
         if (self._version != RuntimeConstants.MULTICOREJIT_PROFILE_VERSION):