diff options
Diffstat (limited to 'libparc/parc/developer')
-rw-r--r-- | libparc/parc/developer/parc_Stopwatch.c | 4 | ||||
-rw-r--r-- | libparc/parc/developer/test/test_parc_Stopwatch.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libparc/parc/developer/parc_Stopwatch.c b/libparc/parc/developer/parc_Stopwatch.c index dfd8a200..2b696f4a 100644 --- a/libparc/parc/developer/parc_Stopwatch.c +++ b/libparc/parc/developer/parc_Stopwatch.c @@ -40,7 +40,7 @@ struct PARCStopwatch { static bool _parcStopwatch_Destructor(PARCStopwatch **instancePtr) { - assertNotNull(instancePtr, "Parameter must be a non-null pointer to a PARCStopwatch pointer."); + parcAssertNotNull(instancePtr, "Parameter must be a non-null pointer to a PARCStopwatch pointer."); /* cleanup the instance fields here */ return true; @@ -63,7 +63,7 @@ parcObject_Override(PARCStopwatch, PARCObject, void parcStopwatch_AssertValid(const PARCStopwatch *instance) { - assertTrue(parcStopwatch_IsValid(instance), + parcAssertTrue(parcStopwatch_IsValid(instance), "PARCStopwatch is not valid."); } diff --git a/libparc/parc/developer/test/test_parc_Stopwatch.c b/libparc/parc/developer/test/test_parc_Stopwatch.c index 0f205ec7..94072c2f 100644 --- a/libparc/parc/developer/test/test_parc_Stopwatch.c +++ b/libparc/parc/developer/test/test_parc_Stopwatch.c @@ -214,7 +214,7 @@ LONGBOW_TEST_CASE(Specialization, parcStopwatch_Multi) parcStopwatch_Start(a, b, c); sleep(2); uint64_t nanos = parcStopwatch_ElapsedTimeNanos(a); - printf("%llu %llu\n", nanos, nanos / 1000000000); + printf("%lu %lu\n", nanos, nanos / 1000000000); if (nanos > (3000000000)) { parcStopwatch_Display(a, 0); } @@ -231,7 +231,7 @@ LONGBOW_TEST_CASE(Specialization, parcStopwatch_ElapsedTimeNanos) parcStopwatch_StartImpl(instance, NULL); sleep(2); uint64_t nanos = parcStopwatch_ElapsedTimeNanos(instance); - printf("%llu %llu\n", nanos, nanos / 1000000000); + printf("%lu %lu\n", nanos, nanos / 1000000000); if (nanos > (3000000000)) { parcStopwatch_Display(instance, 0); } |