From 9af4f39658f5266eca23f7aeda88eeadcbfbd5d8 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 6 Aug 1999 00:22:47 +0000 Subject: [PATCH] use proper format for unsigned number --- src/util/ca_test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/ca_test.c b/src/util/ca_test.c index 73360c104..b2fe13896 100644 --- a/src/util/ca_test.c +++ b/src/util/ca_test.c @@ -59,7 +59,7 @@ #define LOCAL static #endif -#include +#include "cadef.h" int ca_test(char *pname, char *pvalue); LOCAL int cagft(char *pname); @@ -170,7 +170,7 @@ LOCAL int cagft(char *pname) printf("name:\t%s\n", ca_name(chan_id)); printf("native type:\t%d\n", ca_field_type(chan_id)); - printf("native count:\t%d\n", ca_element_count(chan_id)); + printf("native count:\t%u\n", ca_element_count(chan_id)); /* @@ -280,7 +280,7 @@ char *pvalue printf("name:\t%s\n", ca_name(chan_id)); printf("native type:\t%d\n", ca_field_type(chan_id)); - printf("native count:\t%d\n", ca_element_count(chan_id)); + printf("native count:\t%u\n", ca_element_count(chan_id)); /* * string value ca_put