From 4e4ebf48914fe22803d4e6891af13f1292456f2e Mon Sep 17 00:00:00 2001 From: Peter Moulder Date: Sun, 16 Sep 2007 12:28:27 +0000 Subject: trivial changes to address warning with g++-4.2 (bzr r3757) --- src/extension/internal/pov-out.cpp | 2 +- src/extension/internal/pov-out.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extension') 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 -- cgit v1.2.3