diff -r 17edd8a028fa -r 9b76e0881beb src/lifegrd.c --- a/src/lifegrd.c Tue Jan 22 10:27:13 2008 +0100 +++ b/src/lifegrd.c Wed Jan 23 10:35:52 2008 +0100 @@ -101,7 +101,7 @@ if (nodeId == *d->bDeviceNodeId ) { Message msg; - msg.cob_id.w = *d->bDeviceNodeId + 0x700; + msg.cob_id = *d->bDeviceNodeId + 0x700; msg.len = (UNS8)0x01; msg.rtr = 0; msg.data[0] = d->nodeState; @@ -178,7 +178,7 @@ ** the node-id of this device. */ - msg.cob_id.w = *d->bDeviceNodeId + 0x700; + msg.cob_id = *d->bDeviceNodeId + 0x700; msg.len = (UNS8)0x01; msg.rtr = 0; msg.data[0] = d->nodeState; /* No toggle for heartbeat !*/