--- a/src/sdo.c Fri Feb 01 18:01:36 2008 +0100
+++ b/src/sdo.c Fri Feb 01 18:06:55 2008 +0100
@@ -32,9 +32,7 @@
/* #define DEBUG_WAR_CONSOLE_ON */
/* #define DEBUG_ERR_CONSOLE_ON */
-#include "objacces.h"
-#include "sdo.h"
-#include "canfestival.h"
+#include "data.h"
#include "sysdep.h"
/* Uncomment if your compiler does not support inline functions */
@@ -519,7 +517,7 @@
MSG_ERR(0x1A42, "SendSDO : No SDO server found", 0);
return 0xFF;
}
- pwCobId = (UNS32*) d->objdict[offset].pSubindex[2].pObject;
+ pwCobId = (UNS16*) d->objdict[offset].pSubindex[2].pObject;
MSG_WAR(0x3A41, "I am server. cobId : ", *pwCobId);
}
else { /*case client*/