diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-01-19 00:13:02 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-01-19 00:13:02 +0000 |
commit | 89086707de1a3d9012ea80f0c19441d3352a2f73 (patch) | |
tree | dda8ec0369683a3b5f4119cb124d5a95bcb051cf /proto.h | |
parent | 23e9d66c1734ef16f12b017bf517a60be8c44e01 (diff) | |
download | perl-89086707de1a3d9012ea80f0c19441d3352a2f73.tar.gz |
As Perl_get_arena() is dealing with sizes, use size_t rather than int,
as it's both unsigned and semantically the correct width for a size.
As all arenas get cleared later on, can use Newx() rather than Newxz().
p4raw-id: //depot/perl@29879
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2958,7 +2958,7 @@ STATIC HV* S_require_tie_mod(pTHX_ GV *gv, const char *varpv, SV* namesv, const #endif -PERL_CALLCONV void* Perl_get_arena(pTHX_ int svtype) +PERL_CALLCONV void* Perl_get_arena(pTHX_ size_t svtype) __attribute__malloc__ __attribute__warn_unused_result__; |