OSDN Git Service

do not normalize certain unsigned types from normalizeTypeInternal()
authorIvailo Monev <xakepa10@gmail.com>
Sun, 20 Jun 2021 12:07:38 +0000 (15:07 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 20 Jun 2021 12:07:38 +0000 (15:07 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/kernel/qmetaobject_p.h

index 4a8d7c4..0900a48 100644 (file)
@@ -171,9 +171,6 @@ static const struct TypeTblData {
     // substitute 'unsigned x' with those defined in global header
     { "unsigned int", 12, "uint", 4 },
     { "unsigned long long", 18, "ulonglong", 9 },
-    { "unsigned long", 13, "ulong", 5 },
-    { "unsigned short", 14, "ushort", 6 },
-    { "unsigned char", 13, "uchar", 5 }
 };
 static const qint16 TypeTblSize = sizeof(TypeTbl) / sizeof(TypeTblData);