[gvfs] afp: use goffset in g_vfs_afp_reply_seek
- From: Christian Kellner <gicmo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] afp: use goffset in g_vfs_afp_reply_seek
- Date: Thu, 25 Aug 2011 19:27:40 +0000 (UTC)
commit 58be6dd38184c463e2b985864e016e94ad4cd07b
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date: Mon Jul 25 13:03:36 2011 +0200
afp: use goffset in g_vfs_afp_reply_seek
daemon/gvfsafpconnection.c | 4 ++--
daemon/gvfsafpconnection.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/daemon/gvfsafpconnection.c b/daemon/gvfsafpconnection.c
index 0db3f5e..94a8455 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 fb400a3..791a4a9 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]