summaryrefslogtreecommitdiff
path: root/tests/gio-test.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-07-20 17:13:52 +0000
committerHans Breuer <hans@src.gnome.org>2001-07-20 17:13:52 +0000
commit847d8e921273f134bcf560023c14cd5f8eaeea00 (patch)
treee37e0268334e35a5b6265b4bf4b9df6934c849e5 /tests/gio-test.c
parent606033cffa3422426a25829586aaf326731c2d0f (diff)
downloadglib-847d8e921273f134bcf560023c14cd5f8eaeea00.tar.gz
glib-847d8e921273f134bcf560023c14cd5f8eaeea00.tar.bz2
glib-847d8e921273f134bcf560023c14cd5f8eaeea00.zip
make it compile again
2001-07-20 Hans Breuer <hans@breuer.org> * glib/glib/giowin32.c : make it compile again * glib/glib.def : updated exports * glib/makefile.msc.in : * glib/makefile.mingw.in : * tests/makefile.msc.in : reflect glib move * tests/mainloop-test.c : #include <io.h> for _pipe() * tests/gio-test.c : casts for strict compiler settings * makefile.msc.in : new master makefile reflecting the glib move. The '.in' isn't really needed anymore, because there is no version number in it
Diffstat (limited to 'tests/gio-test.c')
-rw-r--r--tests/gio-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gio-test.c b/tests/gio-test.c
index 17ac543eb..9f48ac481 100644
--- a/tests/gio-test.c
+++ b/tests/gio-test.c
@@ -301,7 +301,7 @@ main (int argc,
exit (1);
}
- hwnd = CreateWindow (klass, "gio-test", 0, 0, 0, 10, 10,
+ hwnd = CreateWindow (MAKEINTATOM(klass), "gio-test", 0, 0, 0, 10, 10,
NULL, NULL, wcl.hInstance, NULL);
if (!hwnd)
{
@@ -309,7 +309,7 @@ main (int argc,
exit (1);
}
- windows_messages_channel = g_io_channel_win32_new_messages (hwnd);
+ windows_messages_channel = g_io_channel_win32_new_messages ((guint)hwnd);
g_io_add_watch (windows_messages_channel, G_IO_IN, recv_windows_message, 0);
#endif