--- a/include/ecrt.h Thu Sep 06 09:21:33 2007 +0000 +++ b/include/ecrt.h Thu Sep 06 09:23:56 2007 +0000 @@ -325,7 +325,7 @@ #define EC_WRITE_U32(DATA, VAL) \ do { \ *((uint32_t *) (DATA)) = (uint32_t) (VAL); \ - cpu_to_le16s(DATA); \ + cpu_to_le32s(DATA); \ } while (0) /**