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 | aa9d8ffe3398401992b7dbdd26ef62104a440441 (patch) | |
tree | 52f0a255855030e92349e265a2d882dd73c1ded8 /stoc | |
parent | 1e96e0c0daff99a16bc796bbcfbad41a764a93e9 (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 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: |