clear some warnings

This commit is contained in:
Michael Davidsaver
2017-12-28 12:53:52 -06:00
parent 43ee4b9cb6
commit cb7e4e858b
2 changed files with 4 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ void testTimeStampInternal()
testOk1(nanoSecPerSec==1000000000);
TimeStamp current;
current.getCurrent();
testDiag("current %lli %i milliSec %lli\n",
testDiag("current %lld %d milliSec %lld\n",
(long long)current.getSecondsPastEpoch(),
(int)current.getNanoseconds(),
(long long)current.getMilliseconds());
@@ -46,7 +46,7 @@ void testTimeStampInternal()
(ctm.tm_isdst==0) ? "false" : "true");
tt = time(&tt);
current.fromTime_t(tt);
testDiag("fromTime_t\ncurrent %lli %i milliSec %lli\n",
testDiag("fromTime_t\ncurrent %lld %d milliSec %lld\n",
(long long)current.getSecondsPastEpoch(),
(int)current.getNanoseconds(),
(long long)current.getMilliseconds());