diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-11-27 22:37:41 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-11-27 22:37:41 +0000 |
commit | 94d1e7066cadf6c0f535c5b253acfe24a6200844 (patch) | |
tree | e88ba68892594240e7c4537c8d68ecc3a6d5c3e0 /mro.c | |
parent | 1d0620e07f09f003db2a6b3bb16891110785edf3 (diff) | |
download | perl-94d1e7066cadf6c0f535c5b253acfe24a6200844.tar.gz |
S_mro_get_linear_isa_*() should have an *un*signed level.
[Unless it's a signed concept, use an usigned type.]
p4raw-id: //depot/perl@34948
Diffstat (limited to 'mro.c')
-rw-r--r-- | mro.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,7 @@ These functions are related to the method resolution order of perl classes struct mro_alg { const char *name; - AV *(*resolve)(pTHX_ HV* stash, I32 level); + AV *(*resolve)(pTHX_ HV* stash, U32 level); }; /* First one is the default */ @@ -152,7 +152,7 @@ invalidated). =cut */ static AV* -S_mro_get_linear_isa_dfs(pTHX_ HV *stash, I32 level) +S_mro_get_linear_isa_dfs(pTHX_ HV *stash, U32 level) { AV* retval; GV** gvp; @@ -305,7 +305,7 @@ invalidated). */ static AV* -S_mro_get_linear_isa_c3(pTHX_ HV* stash, I32 level) +S_mro_get_linear_isa_c3(pTHX_ HV* stash, U32 level) { AV* retval; GV** gvp; |