]> sourceware.org Git - systemtap.git/commit
Silence gtod.c -Wformat warnings. Arguments are long int (%ld), not int (%d).
authorMark Wielaard <mjw@redhat.com>
Mon, 7 Nov 2011 20:08:34 +0000 (21:08 +0100)
committerMark Wielaard <mjw@redhat.com>
Mon, 7 Nov 2011 20:08:34 +0000 (21:08 +0100)
commit4d30245812b44ccb98fa1555cfc06929deeaba25
tree2542f71b65b7fa6ad63190c3d2117b710547a0ff
parenta06c6bd3c6a7ea89f6387c4a29d977b95865a12c
Silence gtod.c -Wformat warnings. Arguments are long int (%ld), not int (%d).

Some gcc installs have -Wformat as default warning enabled...
gtod.c:21:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__time_t’ [-Wformat]
gtod.c:21:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__suseconds_t’ [-Wformat]
gtod.c:22:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__time_t’ [-Wformat]
gtod.c:22:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__suseconds_t’ [-Wformat]
testsuite/systemtap.base/gtod.c
This page took 0.026697 seconds and 5 git commands to generate.