add 'const' where needed.
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 10:05:52 +0000 (10:05 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 10:05:52 +0000 (10:05 +0000)
cast pointer to sum_func [for the moment...]

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1283 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/des/enc_dec.c

index d8799afb9cf1968fa94e5ed598f4ef0c0028ae8d..792087d0bab0f8f0610872e554fc1a4aa5fef99a 100644 (file)
@@ -54,7 +54,7 @@ extern int mit_des_debug;
 static krb5_error_code
 mit_des_encrypt_f(DECLARG(krb5_const_pointer, in),
                  DECLARG(krb5_pointer, out),
-                 DECLARG(const_size_t, size),
+                 DECLARG(const size_t, size),
                  DECLARG(krb5_encrypt_block *, key),
                  DECLARG(krb5_pointer, ivec))
 OLDDECLARG(krb5_const_pointer, in)
@@ -109,7 +109,7 @@ OLDDECLARG(krb5_pointer, ivec)
     cksum.contents = contents; 
 
     if (retval = (*krb5_cksumarray[CKSUMTYPE_CRC32]->
-                  sum_func)(in,
+                  sum_func)((krb5_pointer) in,
                             sumsize,
                             (krb5_pointer)key->key->contents,
                             sizeof(mit_des_cblock),