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 /serial | |
parent | 1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff) | |
download | bluez-9c0b5859e6cc4b7a0e925fde8665990281b265d3.tar.gz |
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'serial')
-rw-r--r-- | serial/proxy.c | 3 | ||||
-rw-r--r-- | serial/storage.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/serial/proxy.c b/serial/proxy.c index d2831083e..76f2e1d2a 100644 --- a/serial/proxy.c +++ b/serial/proxy.c @@ -1033,7 +1033,8 @@ static void parse_proxy(char *key, char *value, void *data) char uuid128[MAX_LEN_UUID_STR], tmp[3]; char *pvalue; proxy_type_t type; - int ch, opts, pos; + unsigned int pos; + int ch, opts; struct termios ti; uint8_t *pti; diff --git a/serial/storage.c b/serial/storage.c index 284e80843..a6564a721 100644 --- a/serial/storage.c +++ b/serial/storage.c @@ -103,7 +103,8 @@ int proxy_store(bdaddr_t *src, const char *uuid, const char *tty, const char *name, uint8_t ch, int opts, struct termios *ti) { char filename[PATH_MAX + 1], key[32], src_addr[18], *value; - int i, pos, size, err; + unsigned int i; + int pos, size, err; uint8_t *pti; ba2str(src, src_addr); |