From 6dadbb042390f7dcf2df4390351bf40ed81ec29e Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Tue, 5 May 2020 08:19:26 +0100 Subject: [PATCH] chg: rpi aling warning --- client/src/cmdhflegic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhflegic.c b/client/src/cmdhflegic.c index 7507e326b..b7defe904 100644 --- a/client/src/cmdhflegic.c +++ b/client/src/cmdhflegic.c @@ -880,7 +880,7 @@ int legic_get_type(legic_card_select_t *card) { if (!isOK) return PM3_ESOFT; - memcpy(card, (legic_card_select_t *)resp.data.asBytes, sizeof(legic_card_select_t)); + memcpy(card, resp.data.asBytes, sizeof(legic_card_select_t)); return PM3_SUCCESS; } void legic_chk_iv(uint32_t *iv) {