Fix type warning

This commit is contained in:
tarsin committed 2023-01-17 10:50:56 +08:00
1 parent 6dea7faac8
commit 0c3e34bbf9
1 file changed
+1 -1
+1 -1
View File
@@ -39,5 +39,5 @@ JNIEXPORT void JNICALL
Java_com_hippo_Native_unmapDirectByteBuffer(JNIEnv *env, jclass clazz, jobject buffer) {
void *addr = (*env)->GetDirectBufferAddress(env, buffer);
size_t size = (*env)->GetDirectBufferCapacity(env, buffer);
if (munmap(addr, size)) LOGE("munmap addr:%p, size%d failed!", addr, size);
if (munmap(addr, size)) LOGE("munmap addr:%p, size%zu failed!", addr, size);
}