[cpp] Fix hash construction in SkeletonBinary

This commit is contained in:
Mario Zechner 2025-07-21 02:38:47 +02:00
parent 45c60efd6a
commit 7fdb5906e4

View File

@ -144,7 +144,7 @@ SkeletonData *SkeletonBinary::readSkeletonData(const unsigned char *binary, cons
skeletonData->_hash = "";
} else {
char buffer[32];
snprintf(buffer, 32, "%llx", hash);
snprintf(buffer, 32, "%lld", hash);
skeletonData->_hash = String(buffer);
}
skeletonData->_version.own(input.readString());