diff src/text.c @ 2956:ee35a8fdcfcd

[xemacs-hg @ 2005-09-27 05:29:41 by ben] fix compilation warnings text.c, event-Xt.c, lisp.h, number-gmp.c, number-gmp.h: Fix compilation warnings. A couple of changes of new -> new_, 'foo -> `foo'.
author ben
date Tue, 27 Sep 2005 05:29:45 +0000
parents e01408ac6580
children 6c7605dfcf07
line wrap: on
line diff
--- a/src/text.c	Mon Sep 26 22:19:05 2005 +0000
+++ b/src/text.c	Tue Sep 27 05:29:45 2005 +0000
@@ -1686,7 +1686,7 @@
 {
   while (*s1 && *s2)
     {
-      if (*s1 != *s2)
+      if (*s1 != (wchar_t) *s2)
        break;
       s1++, s2++;
     }
@@ -1809,7 +1809,7 @@
 									 \
 	    if (dstp + len <= dstend)					 \
 	      {								 \
-		set_itext_ichar_fmt (dstp, ch, dstfmt, dstobj);	 \
+		(void) set_itext_ichar_fmt (dstp, ch, dstfmt, dstobj);	 \
 		dstp += len;						 \
 	      }								 \
 	    else							 \