Changed a bunch of debug and information printfs so that they have a better chance of working on systems where int is smaller than 32 bits also fixed the signed/unsigned type of some to match the type of the arguments.
This commit is contained in:
@@ -90,9 +90,9 @@ void handler_alarm_ack(
|
||||
*/
|
||||
#if PRINT_ENABLED
|
||||
fprintf(stderr,
|
||||
"Alarm Ack Operation: Received acknowledge for object id %d from %s for process id %d for object %id\n",
|
||||
data.eventObjectIdentifier.instance, data.ackSource.value,
|
||||
data.ackProcessIdentifier, data.eventObjectIdentifier.instance);
|
||||
"Alarm Ack Operation: Received acknowledge for object id %lu from %s for process id %lu for object %lu\n",
|
||||
(unsigned long)data.eventObjectIdentifier.instance, data.ackSource.value,
|
||||
(unsigned long)data.ackProcessIdentifier, (unsigned long)data.eventObjectIdentifier.instance);
|
||||
#endif
|
||||
|
||||
len =
|
||||
|
||||
Reference in New Issue
Block a user