# HG changeset patch # User Mark Doliner # Date 1171222467 0 # Node ID 58ff9a0ffce0889bbfbb64814e5b76e6ba488d09 # Parent 4049f4d94c33cc9f3fa3bde9fd72cbc8424ef2ad Minor warning fix diff -r 4049f4d94c33 -r 58ff9a0ffce0 libpurple/upnp.c --- a/libpurple/upnp.c Sun Feb 11 19:34:07 2007 +0000 +++ b/libpurple/upnp.c Sun Feb 11 19:34:27 2007 +0000 @@ -352,7 +352,7 @@ start = start ? start + 3 : baseURL; path = strchr(start, '/'); length = path ? path - baseURL : strlen(baseURL); - controlURL = g_strdup_printf("%.*s%s", length, baseURL, tmp); + controlURL = g_strdup_printf("%.*s%s", (int)length, baseURL, tmp); } else { controlURL = g_strdup_printf("%s%s", baseURL, tmp); }