From 482da90a0c580b8bada310804427499878cdf550 Mon Sep 17 00:00:00 2001 From: hades Date: Wed, 4 Oct 2000 12:28:09 +0000 Subject: [PATCH] *** empty log message *** --- allParam/test/Makefile | 1 - allParam/test/test2.c | 2 +- allParam/test/test4.c | 2 +- allParam/test/test6.c | 2 +- allParam/test/test8.c | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/allParam/test/Makefile b/allParam/test/Makefile index f2753e3..5c9f2b5 100644 --- a/allParam/test/Makefile +++ b/allParam/test/Makefile @@ -2,7 +2,6 @@ TIME = time MV = ./mv.sh # Channel Access test -HOST_ARCH = Linux EPICS_BASE = $(EPICS_HOME)/base CACFLAGS = -g -ansi -Wall -I../ca LOADCALIBES = -L../ca -L$(EPICS_BASE)/lib/$(HOST_ARCH) -lcaParam -lca -lCom diff --git a/allParam/test/test2.c b/allParam/test/test2.c index 92a76bc..af3b82f 100644 --- a/allParam/test/test2.c +++ b/allParam/test/test2.c @@ -20,7 +20,7 @@ int test2(const char *testid, const Param *param) { myRetVal = 0; printf("%s : Passed.\n", testid); } else { - printf("%s : Failed. Rows: %d, result: \'%d\', return Value: %d.\n", testid, rows, result, retVal); + printf("%s : Failed. Rows: %d, result: \'%ld\', return Value: %d.\n", testid, rows, result, retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); myRetVal = -1; } diff --git a/allParam/test/test4.c b/allParam/test/test4.c index fb5a68c..f97a0f4 100644 --- a/allParam/test/test4.c +++ b/allParam/test/test4.c @@ -27,7 +27,7 @@ int test4(const char *testid, const Param *param) { } else { printf("%s : Failed. Rows: %d, result array:\n", testid, rows); for(i = 0 ; i < NUM2 ; i++) { - printf("result[%d]: %d.\n", i, result[i]); + printf("result[%d]: %ld.\n", i, result[i]); } printf("return Value: %d.\n", retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); diff --git a/allParam/test/test6.c b/allParam/test/test6.c index 4a6414f..99cb60e 100644 --- a/allParam/test/test6.c +++ b/allParam/test/test6.c @@ -20,7 +20,7 @@ int test6(const char *testid, const Param *param) { myRetVal = 0; printf("%s : Passed.\n", testid); } else { - printf("%s : Failed. Rows: %d, result: \'%d\', return Value: %d.\n", testid, rows, result, retVal); + printf("%s : Failed. Rows: %d, result: \'%ld\', return Value: %d.\n", testid, rows, result, retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); myRetVal = -1; } diff --git a/allParam/test/test8.c b/allParam/test/test8.c index ded35e6..7cb83a1 100644 --- a/allParam/test/test8.c +++ b/allParam/test/test8.c @@ -27,7 +27,7 @@ int test8(const char *testid, const Param *param) { } else { printf("%s : Failed. Rows: %d, result array:\n", testid, rows); for(i = 0 ; i < NUM2 ; i++) { - printf("result[%d]: %d.\n", i, result[i]); + printf("result[%d]: %ld.\n", i, result[i]); } printf("return Value: %d.\n", retVal); printf("%s : Error string: %s\n", testid, Param_getErrStr(param)); -- 2.43.0