diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 17:27:39 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-15 16:55:52 +0100 |
commit | 4861e9171b50cd223c2736b5ef3d783a8269e025 (patch) | |
tree | bbb1b6b3db89f355e6c5e995aa197957ddc571a7 /stoc | |
parent | 5d946add964575705b790fa74a11dd27711ddd1f (diff) |
Use format string on printf()
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/test/testconv.cxx | 2 |
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: |