diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-05-26 07:17:06 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-05-26 07:17:06 -0400 |
commit | 0538ad7f04e56ff9417fb2fef2ede3f421004ca2 (patch) | |
tree | cfbf3ca57f3fc55a989aeec0f4298ecf702cb0cc /gpxlogger.c | |
parent | bb242724b92bda67a9bde6be5d6613c4249ec622 (diff) | |
download | gpsd-0538ad7f04e56ff9417fb2fef2ede3f421004ca2.tar.gz |
splint cleanup.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index a219cb39..b86c1391 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -56,7 +56,7 @@ static void print_gpx_header(void) (void)fprintf(logfile," xsi:schemaLocation=\"http://www.topografix.com/GPS/1/1\n"); (void)fprintf(logfile," http://www.topografix.com/GPX/1/1/gpx.xsd\">\n"); (void)fprintf(logfile," <metadata>\n"); - (void)fprintf(logfile," <time>%s</time>\n", unix_to_iso8601(time(NULL), tbuf, sizeof(tbuf))); + (void)fprintf(logfile," <time>%s</time>\n", unix_to_iso8601((timestamp_t)time(NULL), tbuf, sizeof(tbuf))); (void)fprintf(logfile," </metadata>\n"); (void)fflush(logfile); } |