Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/src/libverify fix problem on...
details: https://anonhg.NetBSD.org/src/rev/e02bd0b38d1c
branches: trunk
changeset: 782794:e02bd0b38d1c
user: agc <agc%NetBSD.org@localhost>
date: Tue Nov 20 18:45:37 2012 +0000
description:
fix problem on 32-bit problems - with thanks to Alan Barrett and
Jonathan Kollasch
diffstat:
crypto/external/bsd/netpgp/dist/src/libverify/libverify.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r aa2243d51125 -r e02bd0b38d1c crypto/external/bsd/netpgp/dist/src/libverify/libverify.c
--- a/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c Tue Nov 20 17:57:40 2012 +0000
+++ b/crypto/external/bsd/netpgp/dist/src/libverify/libverify.c Tue Nov 20 18:45:37 2012 +0000
@@ -940,7 +940,7 @@
break;
case BZIP2_COMPRESSION:
ok = (BZ2_bzDecompress(&bz) == BZ_STREAM_END);
- unzmem->size = ((size_t)bz.total_out_hi32 << 32) | bz.total_out_lo32;
+ unzmem->size = ((uint64_t)bz.total_out_hi32 << 32) | bz.total_out_lo32;
break;
}
if (!ok) {
Home |
Main Index |
Thread Index |
Old Index