summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-13 17:27:39 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-15 16:55:52 +0100
commit4861e9171b50cd223c2736b5ef3d783a8269e025 (patch)
treebbb1b6b3db89f355e6c5e995aa197957ddc571a7 /stoc
parent5d946add964575705b790fa74a11dd27711ddd1f (diff)
Use format string on printf()
Diffstat (limited to 'stoc')
-rw-r--r--stoc/test/testconv.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx
index f847b855fe88..a7f8f9926ae3 100644
--- a/stoc/test/testconv.cxx
+++ b/stoc/test/testconv.cxx
@@ -84,7 +84,7 @@ static void printValue( const Any & rVal )
char ar[2];
ar[0] = (char)*(sal_Unicode *)rVal.getValue();
ar[1] = 0;
- printf( ar );
+ printf( "%s", ar );
break;
}
case TypeClass_BYTE: