Streamlined the naming conventen and types.

This commit is contained in:
Matthias Konrath
2019-08-28 10:45:45 +02:00
parent 7eb79732ff
commit e259b26d60
4 changed files with 14 additions and 10 deletions

View File

@@ -2128,7 +2128,7 @@ static int CmdT55xxChkPwds(const char *Cmd) {
if (use_pwd_file) {
uint16_t keycount = 0;
int res = loadFileDICTIONARY_safe(filename, &keyBlock, 4, &keycount);
int res = loadFileDICTIONARY_safe(filename, (void**) &keyBlock, 4, &keycount);
if (res != PM3_SUCCESS || keycount <= 0 || keyBlock == NULL) {
PrintAndLogEx(WARNING, "No keys found in file");
if (keyBlock != NULL) free(keyBlock);