summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-text/statusbar-items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c
index ae6b1d6b..b2a83537 100644
--- a/src/fe-text/statusbar-items.c
+++ b/src/fe-text/statusbar-items.c
@@ -540,7 +540,7 @@ static void statusbar_lag(SBAR_ITEM_REC *item, int ypos)
}
} else {
/* big lag, still waiting .. */
- g_string_sprintf(str, "%ld (??)", now-server->lag_sent);
+ g_string_sprintf(str, "%ld (??)", (long) (now-server->lag_sent));
size_needed = str->len+7;
}