diff --git a/src/gnome-utils/gnc-html.c b/src/gnome-utils/gnc-html.c
index e4893c0f08..4e8daf2306 100644
--- a/src/gnome-utils/gnc-html.c
+++ b/src/gnome-utils/gnc-html.c
@@ -1291,7 +1291,7 @@ gnc_html_copy(gnc_html *html)
static gboolean
raw_html_receiver (gpointer engine,
const gchar *data,
- guint len,
+ size_t len,
gpointer user_data)
{
FILE *fh = (FILE *) user_data;