Skip to content

Commit 756681c

Browse files
authored
Fix native type for data types I4 and U4 (to match native declarations) (#91)
***UPDATE_DEPENDENTS***
1 parent 77e2490 commit 756681c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/MetadataProcessor.Core/Extensions/TypeReferenceExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ public static string ToNativeTypeAsString(this TypeReference type)
113113
case nanoCLR_DataType.DATATYPE_U2:
114114
return "uint16_t";
115115
case nanoCLR_DataType.DATATYPE_I4:
116-
return "int32_t";
116+
return "signed int";
117117
case nanoCLR_DataType.DATATYPE_U4:
118-
return "uint32_t";
118+
return "unsigned int";
119119
case nanoCLR_DataType.DATATYPE_I8:
120120
return "int64_t";
121121
case nanoCLR_DataType.DATATYPE_U8:

0 commit comments

Comments
 (0)