From 6f9905d06059461ca9eea7da6af4ecb2b928b136 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 18 Apr 2017 14:48:54 -0500 Subject: [PATCH] Fix dbUnitTest.c --- src/ioc/db/dbUnitTest.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ioc/db/dbUnitTest.c b/src/ioc/db/dbUnitTest.c index 7764f78a8..a92f8de7d 100644 --- a/src/ioc/db/dbUnitTest.c +++ b/src/ioc/db/dbUnitTest.c @@ -196,7 +196,8 @@ void testdbGetArrFieldEqual(const char* pv, short dbfType, long nRequest, unsign const long vSize = dbValueSize(dbfType); const long nStore = vSize * nRequest; long status; - char *gbuf, *gstore, *pbuf = pbuf; + char *gbuf, *gstore; + const char *pbuf = pbufraw; if(dbNameToAddr(pv, &addr)) { testFail("Missing PV \"%s\"", pv);