Austin English : ole32: Fix build on Power PC.
Alexandre Julliard
julliard at winehq.org
Tue Sep 1 11:05:50 CDT 2009
Module: wine
Branch: master
Commit: f8daa90284d5119604bf0df96a7bbb39139d09ad
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f8daa90284d5119604bf0df96a7bbb39139d09ad
Author: Austin English <austinenglish at gmail.com>
Date: Mon Aug 31 22:22:13 2009 -0500
ole32: Fix build on Power PC.
---
dlls/ole32/stg_prop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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-cvs
mailing list