summaryrefslogtreecommitdiff
path: root/gio/glocalfile.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-11-06 14:02:26 +0100
committerMatthias Clasen <mclasen@redhat.com>2014-01-19 08:28:31 -0500
commit38a6ab3e0ef0c842f9134309e033a1019e498448 (patch)
treea3fab98b84274ba949d650676d7b27b6f8dc0abc /gio/glocalfile.c
parenta8f58fcfec121241be7890f5b340e139f39fd125 (diff)
downloadglib-38a6ab3e0ef0c842f9134309e033a1019e498448.tar.gz
glib-38a6ab3e0ef0c842f9134309e033a1019e498448.tar.bz2
glib-38a6ab3e0ef0c842f9134309e033a1019e498448.zip
win32: silence build warning
glocalfile.c: In function 'g_local_file_measure_size_of_file': glocalfile.c:2654:3: warning: passing argument 2 of 'g_lstat' from incompatible pointer type [enabled by default] if (g_lstat (name->data, &buf) != 0) ^ In file included from glocalfile.c:68:0: ../glib/gstdio.h:135:5: note: expected 'struct GStatBuf *' but argument is of type 'struct _stati64 *' https://bugzilla.gnome.org/show_bug.cgi?id=711547
Diffstat (limited to 'gio/glocalfile.c')
-rw-r--r--gio/glocalfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/glocalfile.c b/gio/glocalfile.c
index be516c143..1eb3750c1 100644
--- a/gio/glocalfile.c
+++ b/gio/glocalfile.c
@@ -2643,7 +2643,7 @@ g_local_file_measure_size_of_file (gint parent_fd,
MeasureState *state,
GError **error)
{
- struct stat buf;
+ GLocalFileStat buf;
if (g_cancellable_set_error_if_cancelled (state->cancellable, error))
return FALSE;