summaryrefslogtreecommitdiff
path: root/libimage/pnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libimage/pnm.c')
-rw-r--r--libimage/pnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libimage/pnm.c b/libimage/pnm.c
index cb91dc5..f9b6b36 100644
--- a/libimage/pnm.c
+++ b/libimage/pnm.c
@@ -33,7 +33,7 @@
Print error message and get out
@param variable list of arguments explaining error
@return - none*/
-void cPNM::error(char* format, ... )
+void cPNM::error(const char* format, ... )
{
if(m_szError)
free(m_szError);