diff -r 5a1039939567 -r 509158e51940 src/sdo.c --- a/src/sdo.c Wed Mar 26 11:38:27 2008 +0100 +++ b/src/sdo.c Mon Mar 31 15:25:43 2008 +0200 @@ -1178,7 +1178,8 @@ break; case 4: - abortCode = (*m).data[3] | + abortCode = + (UNS32)m->data[4] | ((UNS32)m->data[5] << 8) | ((UNS32)m->data[6] << 16) | ((UNS32)m->data[7] << 24);