# HG changeset patch # User Jeff Connelly # Date 1184047654 0 # Node ID 48e7b6d97f1fe363709611dd80740a889e20061d # Parent 85ed2582be941b44fe8e395d32001023132f0686 Fix compile warnings on Unix (missing sentinel and time_t to int typecast). diff -r 85ed2582be94 -r 48e7b6d97f1f 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);