diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2009-01-09 03:16:11 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2009-01-09 03:16:11 +0000 |
commit | a0c9cafe4b355ada897841298e87346a279840a0 (patch) | |
tree | a2427f50fe58839e148caf76d24995daa82f9c64 /hex.c | |
parent | 1f15a2504212bdbea0eb55fc214e9059b520a180 (diff) | |
download | gpsd-a0c9cafe4b355ada897841298e87346a279840a0.tar.gz |
hush
Diffstat (limited to 'hex.c')
-rw-r--r-- | hex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ int gpsd_hexpack(char *src, char *dst, size_t len){ int i, k, l; l = (int)(strlen(src) / 2); - if ((l < 1) || (l > len)) + if ((l < 1) || ((size_t)l > len)) return -1; bzero(dst, len); |