From 1cf2cd8758dc92b37c365b63224a3f83db86b7af Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Fri, 3 Jul 2009 18:01:37 +0900 Subject: [PATCH] smooth: Improve the format in debug message. --- ChangeLog | 7 +++++++ src/smooth/ftgrays.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c077df3aa..0d907746d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-03 suzuki toshiya + + smooth: Improve the format in debug message. + + * src/smooth/ftgrays.c (gray_dump_cells): Improve the + format specifications to dump variables. + 2009-07-03 suzuki toshiya sfnt: Fix a data type mismatching with its source. diff --git a/src/smooth/ftgrays.c b/src/smooth/ftgrays.c index ba5541d91..846e454e6 100644 --- a/src/smooth/ftgrays.c +++ b/src/smooth/ftgrays.c @@ -1349,7 +1349,7 @@ printf( "%3d:", yindex ); for ( cell = ras.ycells[yindex]; cell != NULL; cell = cell->next ) - printf( " (%3d, c:%4d, a:%6d)", cell->x, cell->cover, cell->area ); + printf( " (%3ld, c:%4ld, a:%6d)", cell->x, cell->cover, cell->area ); printf( "\n" ); } }