Define TBIF_BYINDEX as unsigned constant insted of negativ signed

"Martin Fuchs" <[email protected]> Sat, 23 Aug 2003 20:57:37 +0100
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
This patch does not change the value of the constant, it merely prevents for compiler warnings about type inconsistencies.

Here is the Changelog entry:

2003-08-23  Martin Fuchs  <[email protected]>

	* include/commctrl.h (TBIF_BYINDEX):
	Define TBIF_BYINDEX as unsigned constant insted of negativ signed.


Index: commctrl.h
===================================================================
RCS file: /cvs/src/src/winsup/w32api/include/commctrl.h,v
retrieving revision 1.39
diff -u -p -d -r1.39 commctrl.h
--- commctrl.h  22 Aug 2003 10:50:54 -0000      1.39
+++ commctrl.h  23 Aug 2003 19:57:25 -0000
@@ -611,7 +611,7 @@ extern "C" {
 #define TBS_TOOLTIPS    0x0100
 #define TBS_REVERSED    0x0200
 #if _WIN32_IE >= 0x400
-#define TBIF_BYINDEX -2147483648
+#define TBIF_BYINDEX 0x80000000
 #define TBIF_COMMAND 32
 #define TBIF_IMAGE 1
 #define TBIF_LPARAM 16



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0