From e32d8d77dccd5ef916cf1e35633a1ef8a4adaf5f Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 31 Jul 2009 21:43:03 +0000 Subject: [PATCH] fixed gnu compiler issues --- src/ca/catime.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca/catime.c b/src/ca/catime.c index d449776c2..0ddf28a17 100644 --- a/src/ca/catime.c +++ b/src/ca/catime.c @@ -407,7 +407,7 @@ static void measure_get_latency (ti *pItems, unsigned iterations) /* * printSearchStat() */ -static void printSearchStat ( const ti *pi, unsigned iterations ) +static void printSearchStat ( const ti * pi, unsigned iterations ) { unsigned i; double X = 0u; @@ -556,7 +556,7 @@ int catime ( const char * channelName, printf ( "channel connect test\n" ); timeIt ( test_search, pItemList, channelCount, nBytesSent, nBytesRecv ); - printSearchStat ( pItemList, channelCount, nBytesSent, nBytesRecv ); + printSearchStat ( pItemList, channelCount ); for ( i = 0; i < channelCount; i++ ) { size_t count = ca_element_count ( pItemList[i].chix ); @@ -567,7 +567,7 @@ int catime ( const char * channelName, } printf ( - "channel name=%s, native type=%d, native count=%lu\n", + "channel name=%s, native type=%d, native count=%u\n", ca_name (pItemList[0].chix), ca_field_type (pItemList[0].chix), pItemList[0].count );