# HG changeset patch # User Jeffrey Connelly # Date 1184047654 0 # Node ID 65cf1785e5bf046b211a440e1e7a5841adac6fff # Parent 13bba54b429d31da2c30e92ccf589ed02d3b5c30 Fix compile warnings on Unix (missing sentinel and time_t to int typecast). diff -r 13bba54b429d -r 65cf1785e5bf libpurple/protocols/myspace/myspace.c --- 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);