# HG changeset patch # User etisserant # Date 1206089481 -3600 # Node ID 61a24423589c8072e15d957bfd24bb873a4df474 # Parent 7cba38279f980b92165f75440ae58276bd00327d Fixed typo in objacces.c bigendian side. diff -r 7cba38279f98 -r 61a24423589c src/objacces.c --- a/src/objacces.c Thu Mar 20 15:44:35 2008 +0100 +++ b/src/objacces.c Fri Mar 21 09:51:21 2008 +0100 @@ -142,9 +142,9 @@ (*pDataType >= visible_string && *pExpectedSize < szData)) { # ifdef CANOPEN_BIG_ENDIAN - if(endianize && dataType > boolean && !( - dataType >= visible_string && - domain <= dataType)) { + if(endianize && *pDataType > boolean && !( + *pDataType >= visible_string && + domain <= *pDataType)) { /* data must be transmited with low byte first */ UNS8 i, j = 0; MSG_WAR(boolean, "data type ", *pDataType);