summaryrefslogtreecommitdiff
path: root/src/user/lib/fwik/io/IOStream.cpp
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-19 15:56:25 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-19 15:56:25 +0200
commit8e07c1db6ba4bedd0f8fe537a6fb0ca80e5d25f4 (patch)
tree08df626a28c290f5cde43424dd62dd43fc441a35 /src/user/lib/fwik/io/IOStream.cpp
parent0d2f7645c3fb45d83497faf2a4b6fff8c3f175d1 (diff)
downloadTCE-8e07c1db6ba4bedd0f8fe537a6fb0ca80e5d25f4.tar.gz
TCE-8e07c1db6ba4bedd0f8fe537a6fb0ca80e5d25f4.zip
Better sprintf, vsprintf, String::sprintf, etc.
Diffstat (limited to 'src/user/lib/fwik/io/IOStream.cpp')
-rw-r--r--src/user/lib/fwik/io/IOStream.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/user/lib/fwik/io/IOStream.cpp b/src/user/lib/fwik/io/IOStream.cpp
index ae495c0..9d13251 100644
--- a/src/user/lib/fwik/io/IOStream.cpp
+++ b/src/user/lib/fwik/io/IOStream.cpp
@@ -1,11 +1,11 @@
#include <IO/IOStream.h>
-void IOStream::print(char* str) {
+void IOStream::print(const char* str) {
if (term == 0) return;
term->print(str);
}
-void IOStream::printf(char* fmt, ...) {
+void IOStream::printf(const char* fmt, ...) {
if (term == 0) return;
va_list ap;
va_start(ap, fmt);