diff src/buffer.h @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 131b0175ea99
children ac0620f6398e
line wrap: on
line diff
--- a/src/buffer.h	Mon Aug 13 09:06:45 2007 +0200
+++ b/src/buffer.h	Mon Aug 13 09:07:36 2007 +0200
@@ -1313,7 +1313,7 @@
     }									\
   else									\
     {									\
-      (stick_value_here) = alloca (1 + __gcida_len_out__);		\
+      (stick_value_here) = (CONST Extbyte *) alloca (1 + __gcida_len_out__);		\
       memcpy ((Bufbyte *) stick_value_here, __gcida_ptr_out__,		\
 	      1 + __gcida_len_out__); 					\
       (stick_len_here) = __gcida_len_out__;				\
@@ -1387,7 +1387,7 @@
   __gseda_ptr__ = convert_to_external_format (string_data (__gseda_s__),   \
 					      string_length (__gseda_s__), \
 					      &__gseda_len__, fmt);	   \
-  (stick_value_here) = alloca (1 + __gseda_len__);			   \
+  (stick_value_here) = (CONST Extbyte *) alloca (1 + __gseda_len__);			   \
   memcpy ((Extbyte *) stick_value_here, __gseda_ptr__, 1 + __gseda_len__); \
   (stick_len_here) = __gseda_len__;					   \
 } while (0)