diff src/util.c @ 3279:86fdd015f40e

[gaim-migrate @ 3297] Fewer compile warnings! Thanks, Ari Pollak (I even spelled your name correctly) Also, I think one of these warnings may have fixed a sporadic Hotmail auth failure; let me know if you still get those. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 29 May 2002 01:23:38 +0000
parents 96e215745dc0
children af52fdf06166
line wrap: on
line diff
--- a/src/util.c	Wed May 29 00:24:41 2002 +0000
+++ b/src/util.c	Wed May 29 01:23:38 2002 +0000
@@ -928,7 +928,7 @@
 
 gchar *strdup_withhtml(const gchar *src)
 {
-	char *sp, *dest;
+	gchar *sp, *dest;
 	gulong destsize;
 
 	/*
@@ -936,7 +936,7 @@
 	 * additional length of "<BR>" over "\n"), account for the
 	 * terminator, malloc the space and call strncpy_withhtml.
 	 */
-	for(destsize = 0, sp = src; (sp = strchr(sp, '\n')) != NULL; ++sp, ++destsize)
+	for(destsize = 0, sp = (gchar *)src; (sp = strchr(sp, '\n')) != NULL; ++sp, ++destsize)
 		;
 	destsize *= 3;
 	destsize += strlen(src) + 1;