diff libpurple/protocols/msn/slplink.c @ 26862:c69a2e88fee3

Fix a signed-ness warning.
author Paul Aurich <paul@darkrain42.org>
date Sun, 10 May 2009 22:40:08 +0000
parents a6724cd174f1
children e45fe73b47e3
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;
 	}