summaryrefslogtreecommitdiff
path: root/lib/ZFmtAuth.c
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@mit.edu>2008-01-21 18:01:29 +0000
committerGravatar Karl Ramm <kcr@mit.edu>2008-01-21 18:01:29 +0000
commit125183b2bce6874c2eca34f1a0253de32e9c957a (patch)
tree27dd2b5990979464d012ea96ebc527a309becfc9 /lib/ZFmtAuth.c
parentea96ccd1f26e7317e37d69d9d81943090d3f6488 (diff)
cast args to des_ecb_encrypt and des_quad_cksum to squash last warnings
Diffstat (limited to 'lib/ZFmtAuth.c')
-rw-r--r--lib/ZFmtAuth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ZFmtAuth.c b/lib/ZFmtAuth.c
index ba64742..21b133b 100644
--- a/lib/ZFmtAuth.c
+++ b/lib/ZFmtAuth.c
@@ -41,7 +41,7 @@ ZFormatAuthenticNotice(ZNotice_t *notice,
newnotice.z_checksum = 0;
#else
newnotice.z_checksum =
- (ZChecksum_t)des_quad_cksum((unsigned char *)buffer, NULL, ptr - buffer, 0, session);
+ (ZChecksum_t)des_quad_cksum((unsigned char *)buffer, NULL, ptr - buffer, 0, (C_Block *)session);
#endif
if ((retval = Z_FormatRawHeader(&newnotice, buffer, buffer_len,
&hdrlen, NULL, NULL)) != ZERR_NONE)