mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix some vs-specific problems
This commit is contained in:
parent
4b174ab268
commit
fd737912ce
|
@ -985,7 +985,7 @@ rijndael_key rijndael_setup(const std::vector<std::uint8_t> &key_data)
|
|||
LOAD32H(rk[5], key + 20);
|
||||
for (;;) {
|
||||
#ifdef _MSC_VER
|
||||
temp = skey->rijndael.eK[rk - skey->rijndael.eK + 5];
|
||||
temp = skey.eK[rk - skey.eK + 5];
|
||||
#else
|
||||
temp = rk[5];
|
||||
#endif
|
||||
|
@ -1007,7 +1007,7 @@ rijndael_key rijndael_setup(const std::vector<std::uint8_t> &key_data)
|
|||
LOAD32H(rk[7], key + 28);
|
||||
for (;;) {
|
||||
#ifdef _MSC_VER
|
||||
temp = skey->rijndael.eK[rk - skey->rijndael.eK + 7];
|
||||
temp = skey.eK[rk - skey.eK + 7];
|
||||
#else
|
||||
temp = rk[7];
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue
Block a user