From: Derrick Brashear Date: Tue, 3 Jul 2007 05:23:12 +0000 (+0000) Subject: DEVEL15-des-p-temp-volatile-20070703 X-Git-Tag: openafs-devel-1_5_21~16 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=39fd8e9a024d9023739139138648c542784a3efb;p=packages%2Fo%2Fopenafs.git DEVEL15-des-p-temp-volatile-20070703 make des work again on powerpc darwin and possibly elsewhere (cherry picked from commit a5815643fcdbb96a01d73520fa22f5652f11413d) --- diff --git a/src/des/des.c b/src/des/des.c index 138d48d7d..099021748 100644 --- a/src/des/des.c +++ b/src/des/des.c @@ -90,7 +90,7 @@ des_ecb_encrypt(void * clear, void * cipher, #error dunno how to do this machine type, you lose; #endif #endif - afs_uint32 P_temp; + volatile afs_uint32 P_temp; volatile unsigned char *P_temp_p = (unsigned char *)&P_temp; #ifdef BITS16 sbox_out S_out;