diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-13 08:44:04 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-13 08:44:04 -0400 |
commit | df28d9d7f9eabd2373df031fa2939d0b41ee6caa (patch) | |
tree | 71ea48f96eeb2d42457764a0e64c0c109c92ffa7 /timespec_str.c | |
parent | f0a7a853d5eac933f60b562f3b44102296c9e23f (diff) | |
download | gpsd-df28d9d7f9eabd2373df031fa2939d0b41ee6caa.tar.gz |
splint/cppcheck/coverity prerelease cleanup.
Diffstat (limited to 'timespec_str.c')
-rw-r--r-- | timespec_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timespec_str.c b/timespec_str.c index 69e045ee..6adadd7d 100644 --- a/timespec_str.c +++ b/timespec_str.c @@ -36,7 +36,7 @@ * So 21 digits like this: "-2147483647.123456789" * */ -void timespec_str(const struct timespec *ts, /*@out@*/char *buf, int buf_size) +void timespec_str(const struct timespec *ts, /*@out@*/char *buf, size_t buf_size) { char sign = ' '; |