From bb8e587faa4ca484c1946e99a95ca0de533bddb0 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 28 Apr 2007 17:37:44 +0000 Subject: clean up, improve error messages git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@283 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/pbmfont.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/pbmfont.h') diff --git a/lib/pbmfont.h b/lib/pbmfont.h index 432aea3c..9fdec0e1 100644 --- a/lib/pbmfont.h +++ b/lib/pbmfont.h @@ -53,17 +53,17 @@ struct font { */ struct glyph * glyph[256]; /* glyph[i] is the glyph for code point i */ - bit** oldfont; + const bit ** oldfont; /* for compatibility with old pbmtext routines */ - /* oldfont is 0 if the font is BDF derived */ + /* oldfont is NULL if the font is BDF derived */ int fcols, frows; }; struct font* pbm_defaultfont(const char* const which); struct font* -pbm_dissectfont(bit ** const font, - int const frows, - int const fcols); +pbm_dissectfont(const bit ** const font, + unsigned int const frows, + unsigned int const fcols); struct font* pbm_loadfont(const char * const filename); struct font* pbm_loadpbmfont(const char * const filename); struct font* pbm_loadbdffont(const char * const filename); -- cgit 1.4.1