From fe3615ba22f9c67c1a379ba2a847188d23e57697 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 24 Jan 2015 01:39:55 +0100 Subject: [PATCH] Fix Android warnings --- runloop.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runloop.c b/runloop.c index cba595cda8..0b2f54eb10 100644 --- a/runloop.c +++ b/runloop.c @@ -899,7 +899,11 @@ static int rarch_main_iterate_http_transfer(void) if (!net_http_update(g_extern.http_handle, &pos, &tot)) { - RARCH_LOG("%.9lu / %.9lu \r", pos, tot); +#ifdef _WIN32 + RARCH_LOG("%.9I64u / %.9I64u \r", (unsigned long long)pos, (unsigned long long)tot); +#else + RARCH_LOG("%.9llu / %.9llu \r", (unsigned long long)pos, (unsigned long long)tot); +#endif return -1; }