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)
This commit is contained in:
Tor Lillqvist 2005-01-09 19:11:40 +00:00 committed by Tor Lillqvist
parent 89ceaf2ee4
commit c844b548f3
6 changed files with 16 additions and 1 deletions

View 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)

View 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)

View 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)

View 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)

View 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)

View 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);