mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-26 03:31:24 +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 = "";
|
skeletonData->_hash = "";
|
||||||
} else {
|
} else {
|
||||||
char buffer[32];
|
char buffer[32];
|
||||||
snprintf(buffer, 32, "%llx", hash);
|
snprintf(buffer, 32, "%lld", hash);
|
||||||
skeletonData->_hash = String(buffer);
|
skeletonData->_hash = String(buffer);
|
||||||
}
|
}
|
||||||
skeletonData->_version.own(input.readString());
|
skeletonData->_version.own(input.readString());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user