[gnumeric] fix format warnings
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] fix format warnings
- Date: Wed, 28 Jul 2010 19:40:19 +0000 (UTC)
commit 03827db462c2e4bff1063a7e6b0575663c221d74
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Wed Jul 28 13:40:07 2010 -0600
fix format warnings
2010-07-28 Andreas J. Guelzow <aguelzow pyrshep ca>
* gnumeric-expr-entry.c (gee_dump_lexer): fix format warning
(gee_check_tooltip): ditto
src/widgets/ChangeLog | 5 +++++
src/widgets/gnumeric-expr-entry.c | 5 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index c6982bb..9c0e277 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-28 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * gnumeric-expr-entry.c (gee_dump_lexer): fix format warning
+ (gee_check_tooltip): ditto
+
2010-07-27 Andreas J. Guelzow <aguelzow pyrshep ca>
* gnumeric-expr-entry.c (gee_scan_for_range): show all ranges or none.
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index 02497b6..688a263 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -841,7 +841,7 @@ static void
gee_dump_lexer (GnmLexerItem *gli) {
g_print ("************\n");
do {
- g_print ("%2d to %2d: %d\n",
+ g_print ("%2" G_GSIZE_FORMAT " to %2" G_GSIZE_FORMAT ": %d\n",
gli->start, gli->end, gli->token);
} while (gli++->token != 0);
g_print ("************\n");
@@ -949,7 +949,8 @@ gee_check_tooltip (GnmExprEntry *gee)
goto not_found;
if (gnm_debug_flag ("functooltip"))
- g_print ("last token consider is %d from %d to %d\n",
+ g_print ("last token consider is %d from %2"
+ G_GSIZE_FORMAT " to %2" G_GSIZE_FORMAT "\n",
gli->token, gli->start, gli->end);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]