From 0307a149844b537cf893c5cd9132e35d839c89b8 Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Tue, 3 Jan 2017 12:19:52 +0100 Subject: [PATCH] Fix compile warning different architectures where long long unsigned != uint64_t --- source/view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/view.c b/source/view.c index 60569a16..8fa5a18f 100644 --- a/source/view.c +++ b/source/view.c @@ -108,7 +108,7 @@ struct /** timeout for reloading */ guint idle_timeout; /** debug counter for redraws */ - uint64_t count; + unsigned long long count; /** redraw idle time. */ guint repaint_source; } CacheState = { @@ -335,7 +335,7 @@ void rofi_view_queue_redraw ( void ) { if ( current_active_menu && CacheState.repaint_source == 0 ) { CacheState.count++; - g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "redraw %lu", CacheState.count ); + g_log ( LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "redraw %llu", CacheState.count ); CacheState.repaint_source = g_idle_add_full ( G_PRIORITY_HIGH_IDLE, rofi_view_repaint, NULL, NULL ); } }