summary refs log tree commit diff stats
path: root/src/common/proto-irc.c
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2014-12-04 04:06:38 -0800
committerArnavion <arnavion@gmail.com>2014-12-04 04:06:38 -0800
commit8062bce835681d8200666ad183fe8cf3f6d87468 (patch)
treee81450df3b1b71d763695c9832edb3ffca265255 /src/common/proto-irc.c
parent3fbe5b876e3af3fde135eb42bcd3050b41865d1a (diff)
Fix some obvious type warnings.
Diffstat (limited to 'src/common/proto-irc.c')
-rw-r--r--src/common/proto-irc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c
index 34b4ece1..2bfcb393 100644
--- a/src/common/proto-irc.c
+++ b/src/common/proto-irc.c
@@ -1355,8 +1355,8 @@ process_named_servermsg (session *sess, char *buf, char *rawname, char *word_eol
 /* Returns the timezone offset. This should be the same as the variable
  * "timezone" in time.h, but *BSD doesn't have it.
  */
-static int
-get_timezone(void)
+static time_t
+get_timezone (void)
 {
 	struct tm tm_utc, tm_local;
 	time_t t, time_utc, time_local;