diff options
author | Steve Hay <SteveHay@planit.com> | 2007-05-30 07:38:30 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2007-05-30 07:38:30 +0000 |
commit | a436f3ee716c2e3dc505c8a92070f805fc2451bb (patch) | |
tree | e9d61d55510ee18e8d206097c6ed008b8427c0aa /ext | |
parent | 2da69e3251f35ba724310352213c9f1aa37d4d1d (diff) | |
download | perl-a436f3ee716c2e3dc505c8a92070f805fc2451bb.tar.gz |
Silence a couple of VC++ compiler warnings
p4raw-id: //depot/perl@31309
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Math/BigInt/FastCalc/FastCalc.pm | 2 | ||||
-rw-r--r-- | ext/Math/BigInt/FastCalc/FastCalc.xs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/Math/BigInt/FastCalc/FastCalc.pm b/ext/Math/BigInt/FastCalc/FastCalc.pm index af464f1f49..38b71fa33d 100644 --- a/ext/Math/BigInt/FastCalc/FastCalc.pm +++ b/ext/Math/BigInt/FastCalc/FastCalc.pm @@ -11,7 +11,7 @@ use vars qw/@ISA $VERSION $BASE $BASE_LEN/; @ISA = qw(DynaLoader); -$VERSION = '0.15'; +$VERSION = '0.15_01'; bootstrap Math::BigInt::FastCalc $VERSION; diff --git a/ext/Math/BigInt/FastCalc/FastCalc.xs b/ext/Math/BigInt/FastCalc/FastCalc.xs index cd2ca4b205..9c2a4d34ba 100644 --- a/ext/Math/BigInt/FastCalc/FastCalc.xs +++ b/ext/Math/BigInt/FastCalc/FastCalc.xs @@ -53,7 +53,7 @@ _new(class, x) INIT: STRLEN len; char* cur; - int part_len; + STRLEN part_len; CODE: /* create the array */ @@ -78,7 +78,7 @@ _new(class, x) while (len > 0) { /* use either BASE_LEN or the amount of remaining digits */ - part_len = XS_BASE_LEN; + part_len = (STRLEN) XS_BASE_LEN; if (part_len > len) { part_len = len; |