[Xfce4-commits] <thunar-vfs:master> Fix compiler warning on openbsd.
Nick Schermer
noreply at xfce.org
Thu Apr 19 23:48:01 CEST 2012
Updating branch refs/heads/master
to 258ac73353351168cb018a457a3b0ef7a8788929 (commit)
from c44b6eaabcfaf8edcd29207517a3b9487bc4b7c4 (commit)
commit 258ac73353351168cb018a457a3b0ef7a8788929
Author: Nick Schermer <nick at xfce.org>
Date: Thu Apr 19 23:45:29 2012 +0200
Fix compiler warning on openbsd.
thunar-vfs/thunar-vfs-io-local.c | 1 -
thunar-vfs/thunar-vfs-os-bsd.c | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/thunar-vfs/thunar-vfs-io-local.c b/thunar-vfs/thunar-vfs-io-local.c
index d1a7f31..7e3b018 100644
--- a/thunar-vfs/thunar-vfs-io-local.c
+++ b/thunar-vfs/thunar-vfs-io-local.c
@@ -628,7 +628,6 @@ _thunar_vfs_io_local_listdir (ThunarVfsPath *path,
GList *lp;
GList *ln;
gint n;
- gint ignore;
_thunar_vfs_return_val_if_fail (_thunar_vfs_path_is_local (path), NULL);
_thunar_vfs_return_val_if_fail (error == NULL || *error == NULL, NULL);
diff --git a/thunar-vfs/thunar-vfs-os-bsd.c b/thunar-vfs/thunar-vfs-os-bsd.c
index 288e758..f11d7b5 100644
--- a/thunar-vfs/thunar-vfs-os-bsd.c
+++ b/thunar-vfs/thunar-vfs-os-bsd.c
@@ -66,7 +66,7 @@ _thunar_vfs_os_is_dir_empty (const gchar *absolute_path)
{
struct dirent *dp;
#ifndef HAVE_GETDENTS
- glong basep = 0;
+ off_t basep = 0;
#endif
gchar dbuf[8 * DIRBLKSIZ];
gint size = 0;
@@ -180,7 +180,7 @@ _thunar_vfs_os_scandir (ThunarVfsPath *path,
struct dirent *dp;
struct stat statb;
#ifndef HAVE_GETDENTS
- glong basep = 0;
+ off_t basep = 0;
#endif
GList *path_list = NULL;
gchar *filename;
More information about the Xfce4-commits
mailing list