diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-11 22:05:06 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-11 22:05:06 +0000 |
commit | 4fd42eddbbb74107c6af4ff4270bfe3b8d6c56fe (patch) | |
tree | 8b947eee4fa80a4a9f325992ae91dd14b19eeabc | |
parent | 22a8268ff42344487ae693975d9d38ca69d1d209 (diff) |
fix some sign warnings pointed out by gcc-4
-rw-r--r-- | libcrypt/des.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrypt/des.c b/libcrypt/des.c index 270fe26ab..3b49a7af6 100644 --- a/libcrypt/des.c +++ b/libcrypt/des.c @@ -611,7 +611,7 @@ setkey(const char *key) if (*key++ & 1) p[i] |= bits8[j]; } - des_setkey(p); + des_setkey((char *)p); } @@ -625,7 +625,7 @@ encrypt(char *block, int flag) des_init(); setup_salt(0L); - p = block; + p = (u_char*)block; for (i = 0; i < 2; i++) { io[i] = 0L; for (j = 0; j < 32; j++) |