diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 14:43:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-24 14:43:00 +0000 |
commit | b0a284053e43d2ea32a748f7875f3f59c2b90d0c (patch) | |
tree | be66296e0a83ef21df17f62be7c8131e3637d63b /sdext | |
parent | e21bc5c7772137f61d23884a965885b71ae049d6 (diff) |
make possible to build with c++0x
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx index a28a676bcf79..fd44fba4b016 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx @@ -131,7 +131,7 @@ sal_uInt32 PngHelper::deflateBuffer( const Output_t* i_pBuf, size_t i_nLen, Outp void PngHelper::appendFileHeader( OutputBuffer& o_rOutputBuf ) { - static const Output_t aHeader[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a }; + static const unsigned char aHeader[] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a }; o_rOutputBuf.insert( o_rOutputBuf.end(), aHeader, aHeader + SAL_N_ELEMENTS(aHeader) ); } |