summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorDaniel Dragan <bulk88@hotmail.com>2014-10-06 04:04:05 -0400
committerFather Chrysostomos <sprout@cpan.org>2014-10-06 06:03:01 -0700
commitb304119758005f7ab21373539113204710b204cd (patch)
tree2b387eeeb7970962e8a8e3d87e7bfc78ffac6454 /proto.h
parent3188a8216e19cb1020af7615e3178daab8a865d6 (diff)
downloadperl-b304119758005f7ab21373539113204710b204cd.tar.gz
silence some compiler warnings on VC6
sv.c and toke.c have the following warnings on VC6 but not VC 2003 (and probably newer too), example ..\toke.c(3149) : warning C4761: integral size mismatch in argument; conversion supplied find_default_stash (commit 90aeefb473 )& gv_magicalize (commit 71c35c050e ) ..\gv.c(1680) : warning C4028: formal parameter 6 different from declaration ..\gv.c(1783) : warning C4028: formal parameter 6 different from declaration not all VC6 compiler warnings are fixed by this patch
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 35e12d2f18..0a90a04921 100644
--- a/proto.h
+++ b/proto.h
@@ -5933,7 +5933,7 @@ PERL_CALLCONV void Perl_hv_kill_backrefs(pTHX_ HV *hv)
#endif
#if defined(PERL_IN_GV_C)
-STATIC bool S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, svtype sv_type)
+STATIC bool S_find_default_stash(pTHX_ HV **stash, const char *name, STRLEN len, const U32 is_utf8, const I32 add, const svtype sv_type)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
#define PERL_ARGS_ASSERT_FIND_DEFAULT_STASH \
@@ -5949,7 +5949,7 @@ STATIC bool S_gv_is_in_main(pTHX_ const char *name, STRLEN len, const U32 is_utf
#define PERL_ARGS_ASSERT_GV_IS_IN_MAIN \
assert(name)
-STATIC bool S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, svtype sv_type)
+STATIC bool S_gv_magicalize(pTHX_ GV *gv, HV *stash, const char *name, STRLEN len, bool addmg, const svtype sv_type)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)
__attribute__nonnull__(pTHX_3);