Commit 2a92d2ada07e8a028c05ea1bc249dd0bf6b26124

Con Kolivas 2013-10-21T12:14:24

Make the cmd stored in hfa_cmd structure a uint8_t to match opcodes.

1
2
3
4
5
6
7
8
9
10
11
12
13
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;
 };