Hal Murray <hmur...@megapathdsl.net>:
> Is there an obvious way to fix this stuff?
> 
> ../../tests/libntp/timespecops.c:112:103: warning: format specifies type 
> 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat]
> ../../tests/libntp/timespecops.c:112:124: warning: format specifies type 
> 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat]
> ../../tests/libntp/timespecops.c:112:145: warning: format specifies type 
> 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat]
> ../../tests/libntp/timevalops.c:79:103: warning: format specifies type 'long' 
> but the argument has type 'time_t' (aka 'long long') [-Wformat]
> ../../tests/libntp/timevalops.c:79:124: warning: format specifies type 'long' 
> but the argument has type 'time_t' (aka 'long long') [-Wformat]

Casts on the format arguments shiuld do it.  I've pushed a set of fixes
that illustrate how.

The reason your seeing these now is that I raided the latest public commit of
Classic for unit tests we didn't have.  There was some GSOC work on this
after the fork; it didn't turm out to amount to much, but we have it now.
-- 
                <a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>
_______________________________________________
devel mailing list
devel@ntpsec.org
http://lists.ntpsec.org/mailman/listinfo/devel

Reply via email to