Piotr Caban : msvcrt: Fix internal LONG_MAX and ULONG_MAX definitions.

Alexandre Julliard julliard at winehq.org
Wed Sep 25 14:18:01 CDT 2013


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

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Wed Sep 25 14:41:30 2013 +0200

msvcrt: Fix internal LONG_MAX and ULONG_MAX definitions.

---

 dlls/msvcrt/msvcrt.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index 98922af..4e41a7d 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -41,9 +41,9 @@
 #include "windef.h"
 #include "winbase.h"
 
-#define MSVCRT_LONG_MAX    0x7fffffffL
+#define MSVCRT_LONG_MAX    0x7fffffff
 #define MSVCRT_LONG_MIN    (-MSVCRT_LONG_MAX-1)
-#define MSVCRT_ULONG_MAX   0xffffffffUL
+#define MSVCRT_ULONG_MAX   0xffffffff
 #define MSVCRT_I64_MAX    (((__int64)0x7fffffff << 32) | 0xffffffff)
 #define MSVCRT_I64_MIN    (-MSVCRT_I64_MAX-1)
 #define MSVCRT_UI64_MAX   (((unsigned __int64)0xffffffff << 32) | 0xffffffff)




More information about the wine-cvs mailing list