Fix cast. (#163133, Roger Leigh)
authorTor Lillqvist <tlillqvist@novell.com>
Sun, 9 Jan 2005 19:11:40 +0000 (19:11 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sun, 9 Jan 2005 19:11:40 +0000 (19:11 +0000)
2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>

* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
Leigh)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gwin32.c

index 30e7152..52c9198 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
+       * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
+       Leigh)
+
        * glib/gfileutils.c: Include <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
 
index 30e7152..52c9198 100644 (file)
@@ -1,5 +1,8 @@
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
+       * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
+       Leigh)
+
        * glib/gfileutils.c: Include <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
 
index 30e7152..52c9198 100644 (file)
@@ -1,5 +1,8 @@
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
+       * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
+       Leigh)
+
        * glib/gfileutils.c: Include <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
 
index 30e7152..52c9198 100644 (file)
@@ -1,5 +1,8 @@
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
+       * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
+       Leigh)
+
        * glib/gfileutils.c: Include <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
 
index 30e7152..52c9198 100644 (file)
@@ -1,5 +1,8 @@
 2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>
 
+       * glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
+       Leigh)
+
        * glib/gfileutils.c: Include <io.h> on Windows for
        prototypes. (#163390, Kazuki Iwamoto)
 
index fddf549..7939856 100644 (file)
@@ -1064,7 +1064,7 @@ g_win32_error_message (gint error)
                      |FORMAT_MESSAGE_IGNORE_INSERTS
                      |FORMAT_MESSAGE_FROM_SYSTEM,
                      NULL, error, 0,
-                     (LPTSTR) &msg, 0, NULL);
+                     (LPWSTR) &msg, 0, NULL);
       if (msg != NULL)
        {
          nchars = wcslen (msg);