summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-04-05 21:30:21 +0000
committerNicholas Clark <nick@ccl4.org>2005-04-05 21:30:21 +0000
commit07409e015252427f5ec1d8889bbfb78cf39d061d (patch)
tree0bf440cf49a586dd6e874ecb4fd0aa851fe03d83 /perl.h
parent5b279f8b9f38ac6332e7ddbcac2b8bf949abe47c (diff)
downloadperl-07409e015252427f5ec1d8889bbfb78cf39d061d.tar.gz
Add casting to allow g++ (3.3.5) to compile the core code.
A C++ compiler produces lots of warnings that are probably valid concerns to investigate. p4raw-id: //depot/perl@24170
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index fe6275516e..410846ec25 100644
--- a/perl.h
+++ b/perl.h
@@ -4273,7 +4273,7 @@ typedef struct am_table_short AMTS;
new_chunk_size = (chunk_size); \
if (new_chunk_size > PL_nice_chunk_size) { \
if (PL_nice_chunk) Safefree(PL_nice_chunk); \
- PL_nice_chunk = new_chunk; \
+ PL_nice_chunk = (char *) new_chunk; \
PL_nice_chunk_size = new_chunk_size; \
} else { \
Safefree(chunk); \