avoid cast
authorBodo Möller <bodo@openssl.org>
Mon, 2 Aug 1999 19:55:51 +0000 (19:55 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 2 Aug 1999 19:55:51 +0000 (19:55 +0000)
crypto/des/set_key.c

index 70b870f..52553a4 100644 (file)
@@ -166,7 +166,7 @@ int des_set_key(const_des_cblock *key, des_key_schedule schedule)
                        return(-2);
                }
 
-       k=(DES_LONG *)schedule;
+       k = &schedule->ks.deslong[0];
        in = &(*key)[0];
 
        c2l(in,c);