diff libpurple/upnp.c @ 15622:58ff9a0ffce0

Minor warning fix
author Mark Doliner <mark@kingant.net>
date Sun, 11 Feb 2007 19:34:27 +0000
parents 56a2a0bb290a
children 32c366eeeb99
line wrap: on
line diff
--- 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);
 		}