diff options
author | Carl-Anton Ingmarsson <ca.ingmarsson@gmail.com> | 2011-07-25 13:03:36 +0200 |
---|---|---|
committer | Christian Kellner <gicmo@gnome.org> | 2011-08-25 21:19:53 +0200 |
commit | 58be6dd38184c463e2b985864e016e94ad4cd07b (patch) | |
tree | 9f6c8a9db0676e423207d8324697cf56a65f20c5 | |
parent | ca05fa89d7b07783335c8c0445be4ac0887d051b (diff) | |
download | gvfs-58be6dd38184c463e2b985864e016e94ad4cd07b.tar.gz |
afp: use goffset in g_vfs_afp_reply_seek
-rw-r--r-- | daemon/gvfsafpconnection.c | 4 | ||||
-rw-r--r-- | daemon/gvfsafpconnection.h | 2 |
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); |