mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-12 12:14:06 +02:00
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:
committed by
Tor Lillqvist
parent
89ceaf2ee4
commit
c844b548f3
@@ -1,5 +1,8 @@
|
|||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
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
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
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
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
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
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
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
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
|
||||||
|
@@ -1,5 +1,8 @@
|
|||||||
2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
|
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
|
* glib/gfileutils.c: Include <io.h> on Windows for
|
||||||
prototypes. (#163390, Kazuki Iwamoto)
|
prototypes. (#163390, Kazuki Iwamoto)
|
||||||
|
|
||||||
|
@@ -1064,7 +1064,7 @@ g_win32_error_message (gint error)
|
|||||||
|FORMAT_MESSAGE_IGNORE_INSERTS
|
|FORMAT_MESSAGE_IGNORE_INSERTS
|
||||||
|FORMAT_MESSAGE_FROM_SYSTEM,
|
|FORMAT_MESSAGE_FROM_SYSTEM,
|
||||||
NULL, error, 0,
|
NULL, error, 0,
|
||||||
(LPTSTR) &msg, 0, NULL);
|
(LPWSTR) &msg, 0, NULL);
|
||||||
if (msg != NULL)
|
if (msg != NULL)
|
||||||
{
|
{
|
||||||
nchars = wcslen (msg);
|
nchars = wcslen (msg);
|
||||||
|
Reference in New Issue
Block a user