Mercurial > hg > xemacs-beta
comparison src/dump-data.c @ 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 | 2364237fbc0f |
children | ecf1ebac70d8 |
comparison
equal
deleted
inserted
replaced
2034:51e4a77ed447 | 2035:aaa6e4c4e653 |
---|---|
71 iptr2 = (iptr+4+4095) & ~(EMACS_INT)4095; | 71 iptr2 = (iptr+4+4095) & ~(EMACS_INT)4095; |
72 | 72 |
73 return iptr2-iptr; | 73 return iptr2-iptr; |
74 } | 74 } |
75 | 75 |
76 unsigned char * | 76 char * |
77 dumped_data_get(void) | 77 dumped_data_get(void) |
78 { | 78 { |
79 EMACS_INT iptr = (EMACS_INT)dumped_data; | 79 EMACS_INT iptr = (EMACS_INT)dumped_data; |
80 iptr = (iptr+4+4095) & ~(EMACS_INT)4095; | 80 iptr = (iptr+4+4095) & ~(EMACS_INT)4095; |
81 return (unsigned char *)iptr; | 81 return (char *)iptr; |
82 } | 82 } |
83 | 83 |