changeset 26631:8122fc2dd490

(synchronize_locale): Avoid compiler warnings about pointer type mismatch.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 28 Nov 1999 10:16:33 +0000
parents 67c6dd8064f4
children 493539fc5bb2
files src/ChangeLog src/emacs.c
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file src/ChangeLog has changed
--- a/src/emacs.c	Fri Nov 26 23:08:26 1999 +0000
+++ b/src/emacs.c	Sun Nov 28 10:16:33 1999 +0000
@@ -1928,7 +1928,7 @@
     {
       *plocale = desired_locale;
       setlocale (category, (STRINGP (desired_locale)
-			    ? XSTRING (desired_locale)->data
+			    ? (char *)(XSTRING (desired_locale)->data)
 			    : ""));
     }
 }