From aa9d8ffe3398401992b7dbdd26ef62104a440441 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 13 Mar 2011 17:27:39 +0100 Subject: Use format string on printf() --- stoc/test/testconv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stoc') diff --git a/stoc/test/testconv.cxx b/stoc/test/testconv.cxx index 5cbc3dc9f..083603e73 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: -- cgit v1.2.3