SPV: Fix Linux build warning.

This commit is contained in:
John Kessenich 2016-02-18 19:47:33 -07:00
parent d930b6ee4b
commit 5047c6f7a7

View File

@ -120,7 +120,7 @@ void TType::buildMangledName(TString& mangledName)
if (arraySizes->getDimNode(i)->getAsSymbolNode())
snprintf(buf, maxSize, "s%d", arraySizes->getDimNode(i)->getAsSymbolNode()->getId());
else
snprintf(buf, maxSize, "s%x", arraySizes->getDimNode(i));
snprintf(buf, maxSize, "s%p", arraySizes->getDimNode(i));
} else
snprintf(buf, maxSize, "%d", arraySizes->getDimSize(i));
mangledName += '[';