summaryrefslogtreecommitdiffstats
path: root/tools/hciattach_tialt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hciattach_tialt.c')
-rw-r--r--tools/hciattach_tialt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciattach_tialt.c b/tools/hciattach_tialt.c
index 8ddda359..aa63190a 100644
--- a/tools/hciattach_tialt.c
+++ b/tools/hciattach_tialt.c
@@ -142,7 +142,7 @@ static int texas_load_firmware(int fd, const char *firmware) {
iov_cmd[1].iov_base = data;
iov_cmd[1].iov_len = cmd->plen;
nw = writev(fd, iov_cmd, 2);
- FAILIF(nw != sizeof(cmd) + cmd->plen,
+ FAILIF(nw != (int) sizeof(cmd) + cmd->plen,
"Could not send entire command (sent only %d bytes)!\n",
nw);
}