diff --git a/cryptopp/wake.cpp b/cryptopp/wake.cpp index c34165b8..c93454a9 100644 --- a/cryptopp/wake.cpp +++ b/cryptopp/wake.cpp @@ -24,14 +24,14 @@ void WAKE_Base::GenKey(word32 k0, word32 k1, word32 k2, word32 k3) // x and z were declared as "long" in Wheeler's paper, which is a signed type. I don't know if that was intentional, but it's too late to change it now. -- Wei 7/4/2010 CRYPTOPP_COMPILE_ASSERT(sizeof(x) == 4); static int tt[10]= { - 0x726a8f3b, // table - 0xe69a3b5c, - 0xd3c71fe5, - 0xab3c73d2, - 0x4d3a8eb3, - 0x0396d6e8, - 0x3d4c2f7a, - 0x9ee27cf3, } ; + (int)0x726a8f3b, // table + (int)0xe69a3b5c, + (int)0xd3c71fe5, + (int)0xab3c73d2, + (int)0x4d3a8eb3, + (int)0x0396d6e8, + (int)0x3d4c2f7a, + (int)0x9ee27cf3, } ; t[0] = k0; t[1] = k1; t[2] = k2;