changeset 21416:384d40966004

(CHAR_STRING): Cast to unsigned char ** explicitly.
author Karl Heuer <kwzh@gnu.org>
date Wed, 08 Apr 1998 06:50:18 +0000
parents e6d49d55ea7e
children 7a310ef91b2d
files src/charset.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.h	Wed Apr 08 06:49:50 1998 +0000
+++ b/src/charset.h	Wed Apr 08 06:50:18 1998 +0000
@@ -564,7 +564,7 @@
 #define CHAR_STRING(c, workbuf, str)		 	\
   (SINGLE_BYTE_CHAR_P (c)			 	\
    ? *(str = workbuf) = (unsigned char)(c), 1	 	\
-   : non_ascii_char_to_string (c, workbuf, &str))
+   : non_ascii_char_to_string (c, workbuf, (unsigned char **)&str))
 
 /* Return a character code of the character of which multi-byte form
    is at STR and the length is LEN.  If STR doesn't contain valid