aboutsummaryrefslogtreecommitdiffstats
path: root/libparc/parc/developer
diff options
context:
space:
mode:
authorLuca Muscariello <lumuscar+fdio@cisco.com>2019-01-24 16:32:25 +0000
committerGerrit Code Review <gerrit@fd.io>2019-01-24 16:32:25 +0000
commit9fc2b9ec49c54ec2d5f0164bbedc1c78732c464c (patch)
treec7ebcf4c83b5c2f71318bc69c6f6915aaac7ae2a /libparc/parc/developer
parentcada1143501a48effc483e3873596c22849926b5 (diff)
parent097e69e6daeefc84fd271babbdc1b47dfe4c01e5 (diff)
Merge "Add support for ubuntu18.04 packages."
Diffstat (limited to 'libparc/parc/developer')
-rw-r--r--libparc/parc/developer/parc_Stopwatch.c4
-rw-r--r--libparc/parc/developer/test/test_parc_Stopwatch.c4
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);
}