summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-09-16 12:28:27 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-09-16 12:28:27 +0000
commit4e4ebf48914fe22803d4e6891af13f1292456f2e (patch)
tree7339396445719c9364957861afb350dbe3d9d396 /src/extension
parentmerge in 2geom rev. 1154 (diff)
downloadinkscape-4e4ebf48914fe22803d4e6891af13f1292456f2e.tar.gz
inkscape-4e4ebf48914fe22803d4e6891af13f1292456f2e.zip
trivial changes to address warning with g++-4.2
(bzr r3757)
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/internal/pov-out.cpp2
-rw-r--r--src/extension/internal/pov-out.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp
index c915de75b..7ed7408db 100644
--- a/src/extension/internal/pov-out.cpp
+++ b/src/extension/internal/pov-out.cpp
@@ -120,7 +120,7 @@ static const char *dstr(double d)
/**
* Output data to the buffer, printf()-style
*/
-void PovOutput::out(char *fmt, ...)
+void PovOutput::out(char const *fmt, ...)
{
va_list args;
va_start(args, fmt);
diff --git a/src/extension/internal/pov-out.h b/src/extension/internal/pov-out.h
index 28f630f77..18aad56d1 100644
--- a/src/extension/internal/pov-out.h
+++ b/src/extension/internal/pov-out.h
@@ -72,7 +72,7 @@ private:
/**
* Format text to our output buffer
*/
- void out(char *fmt, ...) G_GNUC_PRINTF(2,3);
+ void out(char const *fmt, ...) G_GNUC_PRINTF(2,3);
/**
* Output a 2d vector