diff src/themes.c @ 6478:338147ea6896

[gaim-migrate @ 6991] Some compiler warning fixes for 64-bit platforms from Robot101. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 15 Aug 2003 22:16:44 +0000
parents 8f94cce8faa5
children 662a33ce4343
line wrap: on
line diff
--- a/src/themes.c	Fri Aug 15 17:57:12 2003 +0000
+++ b/src/themes.c	Fri Aug 15 22:16:44 2003 +0000
@@ -130,7 +130,7 @@
 
 		if (*i == '[' && strchr(i, ']') && load) {
 			struct smiley_list *child = g_new0(struct smiley_list, 1);
-			child->sml = g_strndup(i+1, (int)strchr(i, ']') - (int)i - 1);
+			child->sml = g_strndup(i+1, strchr(i, ']') - i - 1);
 			if (theme->list)
 				list->next = child;
 			else