Permalink
Browse files

2009-02-09 Jeffrey Stedfast <fejj@novell.com>

	* supportw.c (SetWindowPos): Fixed compile warnings about
	printf-style formatters.
	(SendMessageA): Same.


svn path=/trunk/mono/; revision=126409
  • Loading branch information...
1 parent 156c330 commit afc88b11693c4e3e111e38664c958d39f625c3b8 @jstedfast jstedfast committed Feb 10, 2009
Showing with 8 additions and 2 deletions.
  1. +6 −0 support/ChangeLog
  2. +2 −2 support/supportw.c
View
@@ -1,3 +1,9 @@
+2009-02-09 Jeffrey Stedfast <fejj@novell.com>
+
+ * supportw.c (SetWindowPos): Fixed compile warnings about
+ printf-style formatters.
+ (SendMessageA): Same.
+
2009-01-14 Geoff Norton <gnorton@novell.com>
* supportw.c: Use unsigned int instead of uint, as its more portable.
View
@@ -161,14 +161,14 @@ FindWindowExW (gpointer hwndParent, gpointer hwndChildAfter, const char *classw,
int
SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int cy, unsigned int flags)
{
- fprintf (stderr, "SetWindowPos 0x%x 0x%x to [%d,%dx%d,%d] %d\n", hwnd, hwndInsertAfter, x, y, cx, cy, flags);
+ fprintf (stderr, "SetWindowPos %p %p to [%d,%dx%d,%d] %d\n", hwnd, hwndInsertAfter, x, y, cx, cy, flags);
return 1;
}
int
SendMessageA (gpointer hwnd, unsigned int msg, gpointer wparam, gpointer lparam)
{
- fprintf (stderr, "SendMessage (%d, 0x%x, 0x%x, 0x%x)\n", hwnd, msg, wparam, lparam);
+ fprintf (stderr, "SendMessage (%d, 0x%x, %p, %p)\n", (int) GPOINTER_TO_INT (hwnd), msg, wparam, lparam);
return 0;
}

0 comments on commit afc88b1

Please sign in to comment.