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/hcitool.c | |
parent | 1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff) |
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'tools/hcitool.c')
-rw-r--r-- | tools/hcitool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hcitool.c b/tools/hcitool.c index f62f3161..73fbc839 100644 --- a/tools/hcitool.c +++ b/tools/hcitool.c @@ -1098,7 +1098,7 @@ static void cmd_cmd(int dev_id, int argc, char **argv) return; } - for (i = 2, len = 0; i < argc && len < sizeof(buf); i++, len++) + for (i = 2, len = 0; i < argc && len < (int) sizeof(buf); i++, len++) *ptr++ = (uint8_t) strtol(argv[i], NULL, 16); dd = hci_open_dev(dev_id); |