Fixed suspicious code in sdo.c
authoretisserant
Mon, 31 Mar 2008 15:25:43 +0200
changeset 435 509158e51940
parent 434 5a1039939567
child 436 77796b3e3428
Fixed suspicious code in sdo.c
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);