[anjuta] libanjuta: Fix compilation on 64-bit where gsize != guint
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] libanjuta: Fix compilation on 64-bit where gsize != guint
- Date: Mon, 14 Feb 2011 16:47:20 +0000 (UTC)
commit 632a77b3b2978b35668944cb4874bb12c4f98127
Author: Johannes Schmid <jhs gnome org>
Date: Mon Feb 14 17:46:53 2011 +0100
libanjuta: Fix compilation on 64-bit where gsize != guint
libanjuta/anjuta-token.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libanjuta/anjuta-token.c b/libanjuta/anjuta-token.c
index 3185149..a2e0301 100644
--- a/libanjuta/anjuta-token.c
+++ b/libanjuta/anjuta-token.c
@@ -326,7 +326,7 @@ anjuta_token_show (AnjutaToken *token, gint indent, gchar parent)
if (string == NULL)
{
/* Value doesn't contain a newline */
- fprintf (stderr, "(%d)", length);
+ fprintf (stderr, "(%lu)", length);
}
else
{
@@ -481,7 +481,7 @@ anjuta_token_set_length (AnjutaToken *token, gsize length)
token->data.length = length;
}
-guint
+gsize
anjuta_token_get_length (AnjutaToken *token)
{
return token->data.length;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]