From 07409e015252427f5ec1d8889bbfb78cf39d061d Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Tue, 5 Apr 2005 21:30:21 +0000 Subject: 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 --- perl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl.h') 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); \ -- cgit v1.2.1