summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-07-18 07:16:43 -0400
committerTingPing <tingping@tingping.se>2014-07-18 07:16:43 -0400
commit121cb8b88d32b1c2398b9f03f7e8a7c7b27e8391 (patch)
tree473ff137f280847ac6ca40833346cb1628e783fd /src
parent93caf4c7b4e6b7d1f3424263df8ac97397f48d13 (diff)
Fix formatting warnings
Found by #1059
Diffstat (limited to 'src')
-rw-r--r--src/common/outbound.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index a36b9880..651558ce 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -3713,8 +3713,8 @@ userlist_cb (struct User *user, session *sess)
 	else
 		lt = time (0) - user->lasttalk;
 	PrintTextf (sess,
-				"\00306%s\t\00314[\00310%-38s\00314] \017ov\0033=\017%d%d away=%u lt\0033=\017%d\n",
-				user->nick, user->hostname, user->op, user->voice, user->away, lt);
+				"\00306%s\t\00314[\00310%-38s\00314] \017ov\0033=\017%d%d away=%u lt\0033=\017%ld\n",
+				user->nick, user->hostname, user->op, user->voice, user->away, (long)lt);
 
 	return TRUE;
 }