ole32: fix build on Power PC
Austin English
austinenglish at gmail.com
Mon Aug 31 22:22:13 CDT 2009
My fault :-/. When I fixed the build on NetBSD in
2fe86fb7cd9cac04e6ba5e555f6c8d10107f6575, I forgot to change le16toh
here.
It's the only use of it left, though.
--
-Austin
-------------- next part --------------
diff --git a/dlls/ole32/stg_prop.c b/dlls/ole32/stg_prop.c
index 9bf9481..1c77c9e 100644
--- a/dlls/ole32/stg_prop.c
+++ b/dlls/ole32/stg_prop.c
@@ -977,7 +977,7 @@ static void PropertyStorage_ByteSwapString(LPWSTR str, size_t len)
* FIXME: alignment?
*/
for (i = 0; i < len; i++)
- str[i] = le16toh(str[i]);
+ str[i] = lendian16toh(str[i]);
}
#else
#define PropertyStorage_ByteSwapString(s, l)
More information about the wine-patches
mailing list