diff options
Diffstat (limited to 'MPQCryptography.h')
-rw-r--r-- | MPQCryptography.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MPQCryptography.h b/MPQCryptography.h index e8af48e..b1d621e 100644 --- a/MPQCryptography.h +++ b/MPQCryptography.h @@ -27,9 +27,9 @@ extern "C" { const uint32_t *__mpqlib_get_cryptography_table(void); - void __mpqlib_encrypt(char *data, uint32_t length, uint32_t key, + void __mpqlib_encrypt(void *data, uint32_t length, uint32_t key, bool disable_input_swapping); - void __mpqlib_decrypt(char *data, uint32_t length, uint32_t key, + void __mpqlib_decrypt(void *data, uint32_t length, uint32_t key, bool disable_output_swapping); uint32_t __mpqlib_hash_cstring(const char *string, uint32_t type); |