diff src/data.c @ 5876:0cebf04c18b5

Use cast for malloc call to satisfy VS6
author Vin Shelton <acs@xemacs.org>
date Tue, 24 Mar 2015 16:49:53 -0400
parents 5a311f1f46aa
children c96000075e49
line wrap: on
line diff
--- a/src/data.c	Tue Mar 24 15:50:43 2015 -0400
+++ b/src/data.c	Tue Mar 24 16:49:53 2015 -0400
@@ -1522,7 +1522,7 @@
   map_char_table (radix_table, &ctr, find_highest_value, &highest_value);
   cclen = XFIXNUM (highest_value) + 1;
 
-  cctable = malloc (sizeof (Ichar) * cclen);
+  cctable = (Ichar *)malloc (sizeof (Ichar) * cclen);
   if (cctable == NULL)
     {
       out_of_memory ("Could not allocate data for `digit-char'", Qunbound);