comparison urogue/xcrypt.c @ 304:e52a8a7ad4c5

Fix many compiler warnings. There should only be two changes in behavior: arogue7/fight.c, arogue7/fight.c: a to-hit bonus is now correctly applied to characters who are not monks instead of monks who are not empty-handed. urogue/fight.c: fixed an interaction with the "debug" macro that could cause the wrong message to be displayed.
author John "Elwin" Edwards
date Wed, 14 Apr 2021 18:55:33 -0400
parents c495a4f288c6
children
comparison
equal deleted inserted replaced
303:e06ebc407615 304:e52a8a7ad4c5
199 } 199 }
200 200
201 static void 201 static void
202 des_init() 202 des_init()
203 { 203 {
204 int j, b, k, inbit, obit; 204 int i, j, b, k, inbit, obit;
205 unsigned int *p, *il, *ir, *fl, *fr; 205 unsigned int *p, *il, *ir, *fl, *fr;
206 unsigned char i;
207 206
208 old_rawkey0 = old_rawkey1 = 0; 207 old_rawkey0 = old_rawkey1 = 0;
209 saltbits = 0; 208 saltbits = 0;
210 old_salt = 0; 209 old_salt = 0;
211 bits24 = (bits28 = bits32 + 4) + 4; 210 bits24 = (bits28 = bits32 + 4) + 4;