Mercurial > pidgin.yaz
changeset 17939:65cf1785e5bf
Fix compile warnings on Unix (missing sentinel and time_t to int typecast).
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Tue, 10 Jul 2007 06:07:34 +0000 |
parents | 13bba54b429d |
children | 1f08b7a0fc12 |
files | libpurple/protocols/myspace/myspace.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Thu Jul 05 06:16:25 2007 +0000 +++ b/libpurple/protocols/myspace/myspace.c Tue Jul 10 06:07:34 2007 +0000 @@ -1389,7 +1389,8 @@ "status", MSIM_TYPE_INTEGER, status_code, "sesskey", MSIM_TYPE_INTEGER, session->sesskey, "statstring", MSIM_TYPE_STRING, g_strdup(""), - "locstring", MSIM_TYPE_STRING, g_strdup(""))) + "locstring", MSIM_TYPE_STRING, g_strdup(""), + NULL)) { purple_debug_info("msim", "msim_set_status: failed to set status"); } @@ -1612,7 +1613,7 @@ purple_debug_info("msim", "msim_check_alive: delta=%d\n", delta); if (delta >= MSIM_KEEPALIVE_INTERVAL) { - errmsg = g_strdup_printf(_("Connection to server lost (no data received within %d seconds)"), delta); + errmsg = g_strdup_printf(_("Connection to server lost (no data received within %d seconds)"), (int)delta); purple_debug_info("msim", "msim_check_alive: %s > interval of %d, presumed dead\n", errmsg, MSIM_KEEPALIVE_INTERVAL);