# HG changeset patch # User Mark Doliner # Date 1267688228 0 # Node ID 962bc012a50468f45497a9041c54c644b9dc2b30 # Parent b248178bc7b0258c71a475d0c6081e254936cbd3 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. diff -r b248178bc7b0 -r 962bc012a504 libpurple/protocols/oscar/oscar.c --- 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;