From 04b9498f40d730a54b02802271d7ab1b286ef404 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Fri, 4 Jun 1993 07:05:59 +0000 Subject: [PATCH] Changed to work with vxWorks 5.1 and GCC 2.2.3. --- src/db/iocInit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/iocInit.c b/src/db/iocInit.c index 214eebdac..06473ba2b 100644 --- a/src/db/iocInit.c +++ b/src/db/iocInit.c @@ -443,7 +443,7 @@ static long initDatabase() ((struct dbCommon *)(dbAddr.precord))->lset= -1; plink->type = DB_LINK; plink->value.db_link.pdbAddr = - calloc(1,sizeof(struct dbAddr)); + (struct dbAddr *)calloc(1,sizeof(struct dbAddr)); *((struct dbAddr *)(plink->value.db_link.pdbAddr))=dbAddr; } else {