diff options
author | Koundinya Veluri <kouvel@microsoft.com> | 2017-05-09 13:56:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-09 13:56:40 -0700 |
commit | c8a37801f8483d05766e0bf053ffa41aaa155f2c (patch) | |
tree | 8e01a17aa262b0779668b845069bd57d2d50d67b /src/vm/methodtable.h | |
parent | 39a841c33a6ae70cc887ee9fa7cfdeb834c6ca59 (diff) | |
download | coreclr-c8a37801f8483d05766e0bf053ffa41aaa155f2c.tar.gz coreclr-c8a37801f8483d05766e0bf053ffa41aaa155f2c.tar.bz2 coreclr-c8a37801f8483d05766e0bf053ffa41aaa155f2c.zip |
Fix static analysis issues (#11466)
Fix static analysis issues
Diffstat (limited to 'src/vm/methodtable.h')
-rw-r--r-- | src/vm/methodtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/methodtable.h b/src/vm/methodtable.h index 1e557c4253..2ce9f2a883 100644 --- a/src/vm/methodtable.h +++ b/src/vm/methodtable.h @@ -663,7 +663,7 @@ SystemVClassificationType CorInfoType2UnixAmd64Classification(CorElementType eeT _ASSERTE((SystemVClassificationType)toSystemVAmd64ClassificationTypeMap[ELEMENT_TYPE_TYPEDBYREF] == SystemVClassificationTypeTypedReference); _ASSERTE((SystemVClassificationType)toSystemVAmd64ClassificationTypeMap[ELEMENT_TYPE_BYREF] == SystemVClassificationTypeIntegerByRef); - return (((unsigned)eeType) < ELEMENT_TYPE_MAX) ? (toSystemVAmd64ClassificationTypeMap[eeType]) : SystemVClassificationTypeUnknown; + return (((unsigned)eeType) < ELEMENT_TYPE_MAX) ? (toSystemVAmd64ClassificationTypeMap[(unsigned)eeType]) : SystemVClassificationTypeUnknown; }; #define SYSTEMV_EIGHT_BYTE_SIZE_IN_BYTES 8 // Size of an eightbyte in bytes. |