include/ecrt.h
branchstable-1.0
changeset 1624 9dc190591c0f
parent 1623 05622513f627
--- a/include/ecrt.h	Mon Jun 26 16:07:07 2006 +0000
+++ b/include/ecrt.h	Wed Aug 02 12:25:25 2006 +0000
@@ -211,7 +211,7 @@
 */
 
 #define EC_READ_S8(DATA) \
-     ((int8_t)  *((uint8_t *) (DATA)))
+     ((int8_t) *((uint8_t *) (DATA)))
 
 /**
    Read a 16-bit unsigned value from EtherCAT data.
@@ -229,7 +229,7 @@
 */
 
 #define EC_READ_S16(DATA) \
-     ((int16_t)  le16_to_cpup((void *) (DATA)))
+     ((int16_t) le16_to_cpup((void *) (DATA)))
 
 /**
    Read a 32-bit unsigned value from EtherCAT data.
@@ -247,7 +247,7 @@
 */
 
 #define EC_READ_S32(DATA) \
-     ((int32_t)  le32_to_cpup((void *) (DATA)))
+     ((int32_t) le32_to_cpup((void *) (DATA)))
 
 
 /******************************************************************************