summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2011-07-25 13:03:36 +0200
committerChristian Kellner <gicmo@gnome.org>2011-08-25 21:19:53 +0200
commit58be6dd38184c463e2b985864e016e94ad4cd07b (patch)
tree9f6c8a9db0676e423207d8324697cf56a65f20c5
parentca05fa89d7b07783335c8c0445be4ac0887d051b (diff)
downloadgvfs-58be6dd38184c463e2b985864e016e94ad4cd07b.tar.gz
afp: use goffset in g_vfs_afp_reply_seek
-rw-r--r--daemon/gvfsafpconnection.c4
-rw-r--r--daemon/gvfsafpconnection.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index 0db3f5e4..94a8455e 100644
--- a/daemon/gvfsafpconnection.c
+++ b/daemon/gvfsafpconnection.c
@@ -312,9 +312,9 @@ g_vfs_afp_reply_read_afp_name (GVfsAfpReply *reply, gboolean read_text_encoding,
}
gboolean
-g_vfs_afp_reply_seek (GVfsAfpReply *reply, gint offset, GSeekType type)
+g_vfs_afp_reply_seek (GVfsAfpReply *reply, goffset offset, GSeekType type)
{
- gint absolute;
+ goffset absolute;
switch (type)
{
diff --git a/daemon/gvfsafpconnection.h b/daemon/gvfsafpconnection.h
index fb400a34..791a4a9b 100644
--- a/daemon/gvfsafpconnection.h
+++ b/daemon/gvfsafpconnection.h
@@ -286,7 +286,7 @@ gboolean g_vfs_afp_reply_dup_data (GVfsAfpReply *reply, gsize si
gboolean g_vfs_afp_reply_read_pascal (GVfsAfpReply *reply, char **str);
gboolean g_vfs_afp_reply_read_afp_name (GVfsAfpReply *reply, gboolean read_text_encoding, GVfsAfpName **afp_name);
-gboolean g_vfs_afp_reply_seek (GVfsAfpReply *reply, gint offset, GSeekType type);
+gboolean g_vfs_afp_reply_seek (GVfsAfpReply *reply, goffset offset, GSeekType type);
gboolean g_vfs_afp_reply_skip_to_even (GVfsAfpReply *reply);
AfpResultCode g_vfs_afp_reply_get_result_code (GVfsAfpReply *reply);