diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-01-21 09:57:59 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-01-21 09:57:59 +0000 |
commit | 7925f0d0fcb3c98dc254ba1d18aef0c89c86b8c6 (patch) | |
tree | e3aefcf4260a9c8d3949e0a2b16941ceb7ff83de /hex.c | |
parent | 9bafada0e09f12e2ad26b3452b2e6903ba11d3f5 (diff) | |
download | gpsd-7925f0d0fcb3c98dc254ba1d18aef0c89c86b8c6.tar.gz |
Splint cleanup.
Diffstat (limited to 'hex.c')
-rw-r--r-- | hex.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -60,7 +60,7 @@ int gpsd_hexpack(char *src, char *dst, size_t len){ if ((l < 1) || ((size_t)l > len)) return -1; - bzero(dst, len); + bzero(dst, (int)len); for (i = 0; i < l; i++) if ((k = hex2bin(src+i*2)) != -1) dst[i] = (char)(k & 0xff); |