diff options
author | David Tardon <dtardon@redhat.com> | 2013-06-18 10:06:35 -0400 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-06-18 16:12:27 +0200 |
commit | 5ba49392543bae1f6477c65f1887881b48a3143e (patch) | |
tree | c27cd023b29daee7c738c7c5ed101a0779884ba3 /oox/source/ole/olehelper.cxx | |
parent | -Werror=maybe-uninitialized (diff) | |
download | core-5ba49392543bae1f6477c65f1887881b48a3143e.tar.gz core-5ba49392543bae1f6477c65f1887881b48a3143e.zip |
fix ppc build
char is a type distinct from both unsigned char and signed char.
Change-Id: Ia9de35ef42101ce818880b810c44547f1c1a417a
Diffstat (limited to 'oox/source/ole/olehelper.cxx')
-rw-r--r-- | oox/source/ole/olehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ole/olehelper.cxx b/oox/source/ole/olehelper.cxx index 58aa67e485f2..8dc8f7ce8e7a 100644 --- a/oox/source/ole/olehelper.cxx +++ b/oox/source/ole/olehelper.cxx @@ -298,7 +298,7 @@ void OleHelper::exportGuid( BinaryOutputStream& rOStr, const SvGlobalName& rId ) memcpy(&b, pBytes+6, sizeof(sal_uInt16)); rOStr << b; - rOStr.writeArray( (sal_Char *)&pBytes[ 8 ], 8 ); + rOStr.writeArray( (sal_uInt8 *)&pBytes[ 8 ], 8 ); } OUString OleHelper::importGuid( BinaryInputStream& rInStrm ) { |