summaryrefslogtreecommitdiff
path: root/ext/Digest
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-07-28 16:37:48 +0000
committerSteve Hay <SteveHay@planit.com>2006-07-28 16:37:48 +0000
commit57303e6c0943c683fe6bdbbfa2a8b16d3aa4d9f5 (patch)
tree210d50997570ba7d0a7459856d30531e77c1e19f /ext/Digest
parent501f55b944ed34544942c9ed775ce8fe98a3fa2e (diff)
downloadperl-57303e6c0943c683fe6bdbbfa2a8b16d3aa4d9f5.tar.gz
Remove a (UINT) cast to silence a VC6 compiler warning
(this was added by #27352, but Digest-SHA-5.37 changed the loop variable to be signed so the cast now needs to go). Also bump the VERSION since #27482 has not yet been applied to the CPAN version. p4raw-id: //depot/perl@28630
Diffstat (limited to 'ext/Digest')
-rw-r--r--ext/Digest/SHA/SHA.pm2
-rw-r--r--ext/Digest/SHA/src/sha.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/Digest/SHA/SHA.pm b/ext/Digest/SHA/SHA.pm
index 320838eae9..d257996cb0 100644
--- a/ext/Digest/SHA/SHA.pm
+++ b/ext/Digest/SHA/SHA.pm
@@ -6,7 +6,7 @@ use strict;
use warnings;
use integer;
-our $VERSION = '5.42';
+our $VERSION = '5.42_01';
require Exporter;
our @ISA = qw(Exporter);
diff --git a/ext/Digest/SHA/src/sha.c b/ext/Digest/SHA/src/sha.c
index 12be3f8ead..3a5baccfbc 100644
--- a/ext/Digest/SHA/src/sha.c
+++ b/ext/Digest/SHA/src/sha.c
@@ -527,7 +527,7 @@ SHA *s;
return(0);
SHA_fprintf(f, "alg:%d\nH", s->alg);
for (i = 0; i < 8; i++)
- for (j = 0; j < (UINT) (s->alg <= 256 ? 4 : 8); j++)
+ for (j = 0; j < (s->alg <= 256 ? 4 : 8); j++)
SHA_fprintf(f, "%s%02x", j==0 ? ":" : "", *p++);
SHA_fprintf(f, "\nblock");
for (i = 0; i < (int) (s->blocksize >> 3); i++)