diff options
author | Geoff Norton <grompf@sublimeintervention.com> | 2009-01-14 19:04:45 +0300 |
---|---|---|
committer | Geoff Norton <grompf@sublimeintervention.com> | 2009-01-14 19:04:45 +0300 |
commit | b44588e16a85b58853acbb8ed77ecd18cdd1cbe6 (patch) | |
tree | f7d764d2d6ac16f80bfe0891935872f190a6e222 /support | |
parent | 05aa2e43e27e2718da679d7b7c60ac5907d24283 (diff) |
2009-01-14 Geoff Norton <gnorton@novell.com>
* supportw.c: Use unsigned int instead of uint, as its more portable.
Fixes compilation issue on Mac OSX.
svn path=/trunk/mono/; revision=123364
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 5 | ||||
-rw-r--r-- | support/supportw.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index aaff237409c..704b81ae9a4 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,8 @@ +2009-01-14 Geoff Norton <gnorton@novell.com> + + * supportw.c: Use unsigned int instead of uint, as its more portable. + Fixes compilation issue on Mac OSX. + 2009-01-08 Rodrigo Kumpera <rkumpera@novell.com> * signal.c: Don't allow registration of a realtime signal to happen diff --git a/support/supportw.c b/support/supportw.c index 48f1a29d282..1c8b70e8d0d 100644 --- a/support/supportw.c +++ b/support/supportw.c @@ -159,14 +159,14 @@ FindWindowExW (gpointer hwndParent, gpointer hwndChildAfter, const char *classw, } int -SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int cy, uint flags) +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); return 1; } int -SendMessageA (gpointer hwnd, uint msg, gpointer wparam, gpointer lparam) +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); return 0; |