gwin32fsmonitorutils: avoid useless cast

This commit is contained in:
Ignacio Casal Quinteiro 2016-03-01 08:50:05 +01:00
parent 6e454a99ef
commit 96fb3b9c03

View File

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