1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-12-02 14:05:13 -05:00

Fix compile warning different architectures where long long unsigned != uint64_t

This commit is contained in:
Dave Davenport 2017-01-03 12:19:52 +01:00
parent 23e1bf9566
commit 0307a14984

View file

@ -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 );
}
}