Browse Source

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

Con Kolivas 12 years ago
parent
commit
2a92d2ada0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      driver-hashfast.c

+ 1 - 1
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;
 };