From 471980d9dc246da210d73fc91c27627cfdce076d Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sat, 1 Aug 2009 00:32:20 +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 06aa7e966..1ea174240 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 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-31 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" ); } }