changeset 15622:58ff9a0ffce0

Minor warning fix
author Mark Doliner <mark@kingant.net>
date Sun, 11 Feb 2007 19:34:27 +0000
parents 4049f4d94c33
children a2411e8dbe2d
files libpurple/upnp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);
 		}