Jacek Caban : mshtml: Get rid of PRUint64 type.

Alexandre Julliard julliard at winehq.org
Wed Jan 23 16:40:19 CST 2013


Module: wine
Branch: master
Commit: 7867ce8560dd237b22c475e8983690927b2b7a86
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7867ce8560dd237b22c475e8983690927b2b7a86

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Jan 23 18:44:56 2013 +0100

mshtml: Get rid of PRUint64 type.

---

 dlls/mshtml/navigate.c  |    4 ++--
 dlls/mshtml/nsiface.idl |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/navigate.c b/dlls/mshtml/navigate.c
index 72afc10..f0edca0 100644
--- a/dlls/mshtml/navigate.c
+++ b/dlls/mshtml/navigate.c
@@ -138,7 +138,7 @@ static nsresult NSAPI nsInputStream_Close(nsIInputStream *iface)
     return NS_ERROR_NOT_IMPLEMENTED;
 }
 
-static nsresult NSAPI nsInputStream_Available(nsIInputStream *iface, PRUint64 *_retval)
+static nsresult NSAPI nsInputStream_Available(nsIInputStream *iface, UINT64 *_retval)
 {
     nsProtocolStream *This = impl_from_nsIInputStream(iface);
     FIXME("(%p)->(%p)\n", This, _retval);
@@ -1001,7 +1001,7 @@ HRESULT bind_mon_to_wstr(HTMLInnerWindow *window, IMoniker *mon, WCHAR **ret)
 
 static HRESULT read_post_data_stream(nsChannelBSC *This, nsChannel *nschannel)
 {
-    PRUint64 available = 0;
+    UINT64 available = 0;
     UINT32 data_len = 0;
     char *data, *post_data;
     nsresult nsres;
diff --git a/dlls/mshtml/nsiface.idl b/dlls/mshtml/nsiface.idl
index d12b465..647566f 100644
--- a/dlls/mshtml/nsiface.idl
+++ b/dlls/mshtml/nsiface.idl
@@ -43,7 +43,6 @@ typedef REFIID nsIIDRef;
 typedef nsIIDRef nsCIDRef;
 
 typedef WCHAR PRUnichar;
-typedef ULONGLONG PRUint64;
 
 /*
  * Mozilla uses stdint.h types for its headers. Following defines make this IDL file
@@ -57,7 +56,7 @@ typedef ULONGLONG PRUint64;
 #define uint8_t UINT8
 #define uint16_t UINT16
 #define uint32_t UINT32
-#define uint64_t PRUint64
+#define uint64_t UINT64
 
 typedef uint64_t DOMTimeStamp;
 typedef uint32_t nsLoadFlags;




More information about the wine-cvs mailing list