changeset 29923:962bc012a504

This cast is incorrect. It should be (time_t *). But it's actually not needed. This has been in our code since: 22ea67df.. by warmenhoven 2001-07-31 Crazy, huh? Fixes #11484.
author Mark Doliner <mark@kingant.net>
date Thu, 04 Mar 2010 07:37:08 +0000
parents b248178bc7b0
children 0dcdccb03ea0
files libpurple/protocols/oscar/oscar.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oscar.c	Thu Mar 04 04:22:19 2010 +0000
+++ b/libpurple/protocols/oscar/oscar.c	Thu Mar 04 07:37:08 2010 +0000
@@ -3797,7 +3797,7 @@
 	if (utf8 == NULL)
 		/* The conversion failed! */
 		utf8 = g_strdup(_("[Unable to display a message from this user because it contained invalid characters.]"));
-	serv_got_chat_in(gc, ccon->id, info->bn, 0, utf8, time((time_t)NULL));
+	serv_got_chat_in(gc, ccon->id, info->bn, 0, utf8, time(NULL));
 	g_free(utf8);
 
 	return 1;