diff src/conversation.c @ 4201:511c2b63caa4

[gaim-migrate @ 4432] Some code cleanups to remove warnings and fix up indenting a little. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 04 Jan 2003 21:01:32 +0000
parents af2eeb7f7cf8
children da30c4977c43
line wrap: on
line diff
--- a/src/conversation.c	Sat Jan 04 19:41:07 2003 +0000
+++ b/src/conversation.c	Sat Jan 04 21:01:32 2003 +0000
@@ -1203,7 +1203,7 @@
 					char imgtag[1024];
 	
 					if (stat(tmplist->data, &st) != 0) {
-						debug_printf("Could not stat %s\n", tmplist->data);
+						debug_printf("Could not stat %s\n", (char *)tmplist->data);
 						tmplist = tmplist->next;
 						continue;
 					}
@@ -1219,7 +1219,7 @@
 						   filename, id, (int)st.st_size);
 				       	
 					if (strstr(buffy, imgtag) == 0) {
-						debug_printf("Not sending image: %s\n", tmplist->data);
+						debug_printf("Not sending image: %s\n", (char *)tmplist->data);
 						tmplist = tmplist->next;
 						continue;
 					}
@@ -1238,7 +1238,7 @@
 					length = length + strlen(imgtag) + st.st_size + strlen("</DATA>");;
 					bigbuf = g_realloc(bigbuf, length + 1);
 					if (!(imgfile = fopen(tmplist->data, "r"))) {
-						debug_printf("Could not open %s\n", tmplist->data);
+						debug_printf("Could not open %s\n", (char *)tmplist->data);
 						tmplist = tmplist->next;
 						continue;
 					}