OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22a8268
)
fix some sign warnings pointed out by gcc-4
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 11 Aug 2005 22:05:06 +0000
(22:05 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 11 Aug 2005 22:05:06 +0000
(22:05 -0000)
libcrypt/des.c
patch
|
blob
|
history
diff --git
a/libcrypt/des.c
b/libcrypt/des.c
index
270fe26
..
3b49a7a
100644
(file)
--- 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++)