mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
gwin32fsmonitorutils: avoid useless cast
This commit is contained in:
parent
6e454a99ef
commit
96fb3b9c03
@ -371,7 +371,7 @@ g_win32_fs_monitor_init (GWin32FSMonitorPrivate *monitor,
|
|||||||
GWin32FSMonitorPrivate *
|
GWin32FSMonitorPrivate *
|
||||||
g_win32_fs_monitor_create (gboolean isfile)
|
g_win32_fs_monitor_create (gboolean isfile)
|
||||||
{
|
{
|
||||||
GWin32FSMonitorPrivate *monitor = (GWin32FSMonitorPrivate *)g_new0 (GWin32FSMonitorPrivate, 1);
|
GWin32FSMonitorPrivate *monitor = g_new0 (GWin32FSMonitorPrivate, 1);
|
||||||
|
|
||||||
monitor->buffer_allocated_bytes = 32784;
|
monitor->buffer_allocated_bytes = 32784;
|
||||||
monitor->file_notify_buffer = g_new0 (FILE_NOTIFY_INFORMATION, monitor->buffer_allocated_bytes);
|
monitor->file_notify_buffer = g_new0 (FILE_NOTIFY_INFORMATION, monitor->buffer_allocated_bytes);
|
||||||
|
Loading…
Reference in New Issue
Block a user