diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-09-09 13:32:17 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-09-09 13:32:17 -0700 |
commit | ad03007a2b910916428de912e9162272e25aa617 (patch) | |
tree | b2585636ca4066796d5ce948f13aeeaefe5e29ab /gcc/stmt.c | |
parent | 0852bc0c5abab5aeb01ecb0799918160f63776f1 (diff) | |
download | gcc-ad03007a2b910916428de912e9162272e25aa617.zip gcc-ad03007a2b910916428de912e9162272e25aa617.tar.gz gcc-ad03007a2b910916428de912e9162272e25aa617.tar.bz2 |
(check_for_full_enumeration_handling): Cast malloc result
to `unsigned char *' not `char *'.
From-SVN: r8059
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4313,7 +4313,7 @@ check_for_full_enumeration_handling (type) if (size > 0 && size < 600000 /* We deliberately use malloc here - not xmalloc. */ - && (cases_seen = (char*) malloc (bytes_needed)) != NULL) + && (cases_seen = (unsigned char *) malloc (bytes_needed)) != NULL) { long i; tree v = TYPE_VALUES (type); |