changeset 47974:ed2cc4e5f0b8

(x_set_name, x_set_title): `icon.value' has unsigned char.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 22 Oct 2002 19:35:20 +0000
parents b75515b80900
children f86c1b7f1a64
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Tue Oct 22 19:28:17 2002 +0000
+++ b/src/xfns.c	Tue Oct 22 19:35:20 2002 +0000
@@ -2471,9 +2471,9 @@
 	XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), &icon);
 #endif /* not USE_X_TOOLKIT */
 	if (!NILP (f->icon_name)
-	    && icon.value != SDATA (f->icon_name))
+	    && icon.value != (unsigned char *) SDATA (f->icon_name))
 	  xfree (icon.value);
-	if (text.value != SDATA (name))
+	if (text.value != (unsigned char *) SDATA (name))
 	  xfree (text.value);
       }
 #else /* not HAVE_X11R4 */
@@ -2578,9 +2578,9 @@
 	XSetWMIconName (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f), &icon);
 #endif /* not USE_X_TOOLKIT */
 	if (!NILP (f->icon_name)
-	    && icon.value != SDATA (f->icon_name))
+	    && icon.value != (unsigned char *) SDATA (f->icon_name))
 	  xfree (icon.value);
-	if (text.value != SDATA (name))
+	if (text.value != (unsigned char *) SDATA (name))
 	  xfree (text.value);
       }
 #else /* not HAVE_X11R4 */