mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-25 17:35:30 +00:00
Fix bug caught by clang
This commit is contained in:
parent
aba347778e
commit
f951dda449
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ bool ImageLoaderKTX::ReadData() {
|
|||
memcpy(keyValueData, rdr.GetData(), keyAndValueByteSize);
|
||||
const char *key = reinterpret_cast<const char *>((const uint8 *)keyValueData);
|
||||
const char *value = key;
|
||||
while(value != '\0') {
|
||||
while(*value != '\0') {
|
||||
value++;
|
||||
}
|
||||
value++; // consume the null byte
|
||||
|
|
Loading…
Reference in a new issue