Mercurial > pidgin.yaz
diff libpurple/upnp.c @ 15629:2f0f563b3579
merge of '7822ac971c736a7e6545da828b1b79db67ad732f'
and 'edc9bd8e3fe860539f170f241e440e214993fcaf'
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 13 Feb 2007 07:03:51 +0000 |
parents | 58ff9a0ffce0 |
children | 32c366eeeb99 |
line wrap: on
line diff
--- a/libpurple/upnp.c Tue Feb 13 05:00:49 2007 +0000 +++ b/libpurple/upnp.c Tue Feb 13 07:03:51 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); }