mirror of
https://github.com/RPCS3/glslang.git
synced 2024-11-23 19:29:44 +00:00
SPV: Fix Linux build warning.
This commit is contained in:
parent
d930b6ee4b
commit
5047c6f7a7
@ -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 += '[';
|
||||
|
Loading…
Reference in New Issue
Block a user