diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-02-28 06:37:23 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-02-28 06:37:23 +0000 |
commit | 1976ac750c74858714cae55a01b6703c75529fe0 (patch) | |
tree | 43f0c434e9de1e3561fe51a77cdf95be71d0306e /src/procheader.c | |
parent | 6afd63f00a030cd2b0123d174d3e57a6c4f5cb10 (diff) |
procheader.c: fixed the argument type of buffer length.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@132 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/procheader.c')
-rw-r--r-- | src/procheader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/procheader.c b/src/procheader.c index b7baf940..ea611ff2 100644 --- a/src/procheader.c +++ b/src/procheader.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2004 Hiroyuki Yamamoto + * Copyright (C) 1999-2005 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -37,7 +37,7 @@ #define BUFFSIZE 8192 -gint procheader_get_one_field(gchar *buf, gint len, FILE *fp, +gint procheader_get_one_field(gchar *buf, size_t len, FILE *fp, HeaderEntry hentry[]) { gint nexthead; @@ -147,7 +147,7 @@ gint procheader_get_one_field(gchar *buf, gint len, FILE *fp, return hnum; } -gchar *procheader_get_unfolded_line(gchar *buf, gint len, FILE *fp) +gchar *procheader_get_unfolded_line(gchar *buf, size_t len, FILE *fp) { gboolean folded = FALSE; gint nexthead; |