summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-09 15:28:17 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-09 15:28:17 +0000
commiteaf49f020a925277ba05a5f575ea0f218a7c52ee (patch)
tree716a7252dbda0e97bcaa456489773d25d9a26df6
parent07982e179080a25ce009bda2fa6f64e4db31afe9 (diff)
downloadirssi-eaf49f020a925277ba05a5f575ea0f218a7c52ee.zip
Removed a warning
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@452 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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;
}