changeset 2035:aaa6e4c4e653

[xemacs-hg @ 2004-04-19 14:49:01 by james] C++ build fix: unsigned char * -> char *.
author james
date Mon, 19 Apr 2004 14:49:07 +0000
parents 51e4a77ed447
children c05be054a9ce
files src/ChangeLog src/dump-data.c src/dump-data.h
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Mon Apr 19 14:39:49 2004 +0000
+++ b/src/ChangeLog	Mon Apr 19 14:49:07 2004 +0000
@@ -1,3 +1,8 @@
+2004-04-18  Jerry James  <james@xemacs.org>
+
+	* dump-data.c (dumped_data_get): Change return type to char *.
+	* dump-data.h (dumped_data_get): Ditto.
+
 2004-04-15  Jerry James  <james@xemacs.org>
 
 	* signal.c (check_what_happened): Remove check for proper
--- a/src/dump-data.c	Mon Apr 19 14:39:49 2004 +0000
+++ b/src/dump-data.c	Mon Apr 19 14:49:07 2004 +0000
@@ -73,11 +73,11 @@
   return iptr2-iptr;
 }
 
-unsigned char *
+char *
 dumped_data_get(void)
 {
   EMACS_INT iptr = (EMACS_INT)dumped_data;
   iptr = (iptr+4+4095) & ~(EMACS_INT)4095;
-  return (unsigned char *)iptr;
+  return (char *)iptr;
 }
 
--- a/src/dump-data.h	Mon Apr 19 14:39:49 2004 +0000
+++ b/src/dump-data.h	Mon Apr 19 14:49:07 2004 +0000
@@ -33,6 +33,6 @@
 size_t dumped_data_align_offset(void);
 
 /* inline data */
-unsigned char *dumped_data_get(void);
+char *dumped_data_get(void);
 
 #endif