summaryrefslogtreecommitdiffstats
path: root/source/view.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-03 12:19:52 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-03 12:19:52 +0100
commit0307a149844b537cf893c5cd9132e35d839c89b8 (patch)
tree3a23a124c3c8835b11b228b350ed49374e4c7ad5 /source/view.c
parent23e1bf95660814247f30d7b20c7308c1f00897d9 (diff)
Fix compile warning different architectures where long long unsigned != uint64_t
Diffstat (limited to 'source/view.c')
-rw-r--r--source/view.c4
1 files 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 );
}
}