summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
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: