about summary refs log tree commit diff
path: root/lib/pbmfont.h
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-04-28 17:37:44 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-04-28 17:37:44 +0000
commitbb8e587faa4ca484c1946e99a95ca0de533bddb0 (patch)
tree2f81fa894e5df79319d6e4b6faa926521291702d /lib/pbmfont.h
parentb8da51f799c914cdcf4b5665a75abee488cb1007 (diff)
downloadnetpbm-mirror-bb8e587faa4ca484c1946e99a95ca0de533bddb0.tar.gz
netpbm-mirror-bb8e587faa4ca484c1946e99a95ca0de533bddb0.tar.xz
netpbm-mirror-bb8e587faa4ca484c1946e99a95ca0de533bddb0.zip
clean up, improve error messages
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@283 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/pbmfont.h')
-rw-r--r--lib/pbmfont.h10
1 files changed, 5 insertions, 5 deletions
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);