[Winpt-commits] r64 - trunk/Include

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Thu Nov 3 17:37:59 CET 2005


Author: twoaday
Date: 2005-11-03 17:37:59 +0100 (Thu, 03 Nov 2005)
New Revision: 64

Modified:
   trunk/Include/ChangeLog
   trunk/Include/wptTypes.h
Log:
2005-11-03  Timo Schulz  <ts at g10code.com>
 
        * wptTypes.h (BUG): cast hwnd to HWND to avoid warning.
         


Modified: trunk/Include/ChangeLog
===================================================================
--- trunk/Include/ChangeLog	2005-11-03 10:50:46 UTC (rev 63)
+++ trunk/Include/ChangeLog	2005-11-03 16:37:59 UTC (rev 64)
@@ -1,3 +1,7 @@
+2005-11-03  Timo Schulz  <ts at g10code.com>
+
+	* wptTypes.h (BUG): cast hwnd to HWND to avoid warning.
+	
 2005-11-03  Werner Koch  <wk at g10code.com>
 
 	* Makefile.am (EXTRA_DIST): Add wptCardEdit.h, wptListView.h,

Modified: trunk/Include/wptTypes.h
===================================================================
--- trunk/Include/wptTypes.h	2005-11-03 10:50:46 UTC (rev 63)
+++ trunk/Include/wptTypes.h	2005-11-03 16:37:59 UTC (rev 64)
@@ -87,7 +87,7 @@
 	_snprintf (bug, sizeof bug - 1, "Ohhh jeee; This is a BUG\n" \
 					"%s: %d", __FILE__, __LINE__); \
 	MessageBox (hwnd, bug, "FATAL ERROR", MB_ERR); \
-	if (hwnd) \
+	if ((HWND)hwnd) \
 	    EndDialog (hwnd, FALSE); \
 	else \
 	    exit (0); \



More information about the Winpt-commits mailing list