printf format
This commit is contained in:
parent
988cd6769c
commit
1dad92000b
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ void TType::buildMangledName(TString& mangledName) const
|
|||
mangledName += "-tx-struct";
|
||||
|
||||
char text[16]; // plenty enough space for the small integers.
|
||||
snprintf(text, sizeof(text), "%d-", sampler.getStructReturnIndex());
|
||||
snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex());
|
||||
mangledName += text;
|
||||
} else {
|
||||
switch (sampler.getVectorSize()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue