summaryrefslogtreecommitdiffstats
path: root/serial/proxy.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:58:28 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:58:28 +0100
commit9c0b5859e6cc4b7a0e925fde8665990281b265d3 (patch)
tree8994dbe0942d56c9a7cf470fc3b2316d1f91e0a3 /serial/proxy.c
parent1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff)
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'serial/proxy.c')
-rw-r--r--serial/proxy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/serial/proxy.c b/serial/proxy.c
index d2831083..76f2e1d2 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;