Commit c844b548 authored by Tor Lillqvist's avatar Tor Lillqvist Committed by Tor Lillqvist

Fix cast. (#163133, Roger Leigh)

2005-01-09  Tor Lillqvist  <tlillqvist@novell.com>

	* glib/gwin32.c (g_win32_error_message): Fix cast. (#163133, Roger
	Leigh)
parent 89ceaf2e
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)
......
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)
......
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)
......
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)
......
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)
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment