Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes.
diff --git a/driver-hashfast.c b/driver-hashfast.c
index c51a928..7e20fa4 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;
};