Mercurial > pidgin.yaz
changeset 26944:c69a2e88fee3
Fix a signed-ness warning.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 10 May 2009 22:40:08 +0000 |
parents | 88f1db1da582 |
children | 10d92c213d0f |
files | libpurple/protocols/msn/slplink.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/msn/slplink.c Sun May 10 22:24:37 2009 +0000 +++ b/libpurple/protocols/msn/slplink.c Sun May 10 22:40:08 2009 +0000 @@ -683,9 +683,9 @@ size = st.st_size; if(!file_name) { - base = g_path_get_basename(file_path); - u8 = purple_utf8_try_convert(base); - g_free(base); + gchar *basename = g_path_get_basename(file_path); + u8 = purple_utf8_try_convert(basename); + g_free(basename); file_name = u8; }