include: Use LONG instead of long in richedit.h.

Michael Stefaniuc mstefani at redhat.de
Sun Jan 4 04:28:42 CST 2009


Even MSDN uses LONG for those prototypes.
---
Not actually used in Wine so no collateral damanages to fix.


 include/richedit.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/richedit.h b/include/richedit.h
index 02ebdc2..095cc8a 100644
--- a/include/richedit.h
+++ b/include/richedit.h
@@ -622,7 +622,7 @@ typedef enum tagKHYPH
 typedef struct hyphresult
 {
     KHYPH      khyph;
-    long       ichHyph;
+    LONG       ichHyph;
     WCHAR      chHyph;
 } HYPHRESULT;
 
@@ -630,7 +630,7 @@ typedef struct tagHyphenateInfo
 {
     SHORT      cbSize;
     SHORT      dxHyphenateZone;
-    void       (WINAPI* pfnHyphenate)(WCHAR*, LANGID, long, HYPHRESULT*);
+    void       (WINAPI* pfnHyphenate)(WCHAR*, LANGID, LONG, HYPHRESULT*);
 } HYPHENATEINFO;
 
 typedef struct _msgfilter {
@@ -712,7 +712,7 @@ typedef struct _imecomptext {
     DWORD      flags;
 } IMECOMPTEXT;
 
-void WINAPI HyphenateProc(WCHAR*, LANGID, long, HYPHRESULT*);
+void WINAPI HyphenateProc(WCHAR*, LANGID, LONG, HYPHRESULT*);
 
 #define SF_TEXT		      0x00000001
 #define SF_RTF		      0x00000002
-- 
1.6.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090104/5f30cc98/attachment.pgp 


More information about the wine-patches mailing list