Fixed format specifier mismatch.
authorArmin Novak <armin.novak@thincast.com>
Fri, 2 Dec 2016 09:15:17 +0000 (10:15 +0100)
committerArmin Novak <armin.novak@thincast.com>
Fri, 2 Dec 2016 11:04:53 +0000 (12:04 +0100)
winpr/libwinpr/utils/wlog/wlog.c

index 1892153..f3f51df 100644 (file)
@@ -100,7 +100,7 @@ static BOOL log_recursion(LPCSTR file, LPCSTR fkt, int line)
                return FALSE;
 
        for (i = 0; i < used; i++)
-               if (__android_log_print(ANDROID_LOG_FATAL, tag, "%d: %s", i, msg[i]) < 0)
+               if (__android_log_print(ANDROID_LOG_FATAL, tag, "%zd: %s", i, msg[i]) < 0)
                        return FALSE;
 
 #else