diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-29 17:58:28 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-29 17:58:28 +0100 |
commit | 9c0b5859e6cc4b7a0e925fde8665990281b265d3 (patch) | |
tree | 8994dbe0942d56c9a7cf470fc3b2316d1f91e0a3 /tools/hciattach_tialt.c | |
parent | 1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff) |
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'tools/hciattach_tialt.c')
-rw-r--r-- | tools/hciattach_tialt.c | 2 |
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); } |