mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c, bignum.c, gc.c, numeric.c, string.c, util.c, insns.def,
missing/crypt.c, missing/vsnprintf.c, : suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f8147318dd
commit
2e54fe9d4d
10 changed files with 35 additions and 29 deletions
|
|
@ -680,13 +680,13 @@ des_cipher(in, out, salt, num_iter)
|
|||
if (num_iter >= 0)
|
||||
{ /* encryption */
|
||||
kp = &KS[0];
|
||||
ks_inc = sizeof(*kp);
|
||||
ks_inc = (int)sizeof(*kp);
|
||||
}
|
||||
else
|
||||
{ /* decryption */
|
||||
num_iter = -num_iter;
|
||||
kp = &KS[KS_SIZE-1];
|
||||
ks_inc = -sizeof(*kp);
|
||||
ks_inc = -(int)sizeof(*kp);
|
||||
}
|
||||
|
||||
while (--num_iter >= 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue