Changed to work with vxWorks 5.1 and GCC 2.2.3.
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user