Skip to content

Commit

Permalink
formate %zu
Browse files Browse the repository at this point in the history
  • Loading branch information
lingol committed Sep 2, 2019
1 parent 4968a94 commit ca7852a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Android/MMKV/mmkv/src/main/cpp/MmapedFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ int ASharedMemory_create(const char *name, size_t size) {
if (funcPtr) {
fd = funcPtr(name, size);
if (fd < 0) {
MMKVError("fail to ASharedMemory_create %s with size %z, errno:%s", name, size,
MMKVError("fail to ASharedMemory_create %s with size %zu, errno:%s", name, size,
strerror(errno));
}
} else {
Expand Down

0 comments on commit ca7852a

Please sign in to comment.