Changed to work with vxWorks 5.1 and GCC 2.2.3.

This commit is contained in:
Janet B. Anderson
1993-06-04 07:05:59 +00:00
parent c0ff7efa1a
commit 04b9498f40
+1 -1
View File
@@ -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 {