Use %d for int32_t

This commit is contained in:
rh101 2021-09-02 22:45:59 +10:00
parent ab2aa26242
commit ea4b212d1f
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ std::string TextureCache::getCachedTextureInfo() const
auto bytes = tex->getPixelsWide() * tex->getPixelsHigh() * bpp / 8;
totalBytes += bytes;
count++;
snprintf(buftmp, sizeof(buftmp) - 1, "\"%s\" rc=%u id=%p %u x %u @ %d bpp => %u KB\n",
snprintf(buftmp, sizeof(buftmp) - 1, "\"%s\" rc=%d id=%p %d x %d @ %d bpp => %d KB\n",
texture.first.c_str(),
(int32_t)tex->getReferenceCount(),
tex->getBackendTexture(),