From 2a92d2ada07e8a028c05ea1bc249dd0bf6b26124 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 21 Oct 2013 12:14:24 +1100 Subject: [PATCH] Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes. --- driver-hashfast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver-hashfast.c b/driver-hashfast.c index c51a928d..7e20fa4b 100644 --- a/driver-hashfast.c +++ b/driver-hashfast.c @@ -51,7 +51,7 @@ static unsigned char hfa_crc8(unsigned char *h) } struct hfa_cmd { - int cmd; + uint8_t cmd; char *cmd_name; enum usb_cmds usb_cmd; };