diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/jvm/jvm.c | 2 | ||||
-rw-r--r-- | src/libc-verbose.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/jvm/jvm.c b/src/jvm/jvm.c index 05b4793..89e84d5 100644 --- a/src/jvm/jvm.c +++ b/src/jvm/jvm.c @@ -450,7 +450,7 @@ static jboolean JNIEnv_IsInstanceOf(JNIEnv* p0, jobject p1, jclass p2) { assert(p0 && p1 && p2); - verbose("%u, %pu", (uint32_t)(uintptr_t)p1, (uint32_t)(uintptr_t)p2); + verbose("%u, %u", (uint32_t)(uintptr_t)p1, (uint32_t)(uintptr_t)p2); return jvm_get_object(jnienv_get_jvm(p0), p1)->this_klass == p2; } diff --git a/src/libc-verbose.h b/src/libc-verbose.h index 517e7ce..190f0b1 100644 --- a/src/libc-verbose.h +++ b/src/libc-verbose.h @@ -150,7 +150,7 @@ bionic_fread(void *ptr, size_t size, size_t nmemb, FILE *stream) char buf[256], fname[256] = {0}; snprintf(buf, sizeof(buf), "/proc/self/fd/%d", fileno(stream)); readlink(buf, fname, sizeof(fname)); - verbose("%s (%d)\n%p, %zu, %zu, %p", fname, fileno(stream), ptr, size, nmemb, stream); + verbose("%s (%d)\n%p, %zu, %zu, %p", fname, fileno(stream), ptr, size, nmemb, (void*)stream); return fread(ptr, size, nmemb, stream); } @@ -160,7 +160,7 @@ bionic_fwrite(void *ptr, size_t size, size_t nmemb, FILE *stream) char buf[256], fname[256] = {0}; snprintf(buf, sizeof(buf), "/proc/self/fd/%d", fileno(stream)); readlink(buf, fname, sizeof(fname)); - verbose("%s (%d)\n%p, %zu, %zu, %p", fname, fileno(stream), ptr, size, nmemb, stream); + verbose("%s (%d)\n%p, %zu, %zu, %p", fname, fileno(stream), ptr, size, nmemb, (void*)stream); return fwrite(ptr, size, nmemb, stream); } |