mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[cpp] Fix hash construction in SkeletonBinary
This commit is contained in:
parent
45c60efd6a
commit
7fdb5906e4
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user