diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 17:04:22 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-11-26 17:04:22 +0000 |
commit | bff5fe4958c7aae3b13a80a6b425979f72dcc5e8 (patch) | |
tree | e54c2c452b09c320c2a39b1331c78bfb94ef0072 /xmlhelp | |
parent | 4fc151e84af501a01b9feb5a8192480b189e8856 (diff) |
INTEGRATION: CWS armoabiport01 (1.7.14); FILE MERGED
2007/11/07 14:33:22 cmc 1.7.14.1: #i83413# signed vs unsigned char thing shown by arm port
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/com/sun/star/help/HelpLinker.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlhelp/source/com/sun/star/help/HelpLinker.cxx b/xmlhelp/source/com/sun/star/help/HelpLinker.cxx index 566e6d589461..25a910169834 100644 --- a/xmlhelp/source/com/sun/star/help/HelpLinker.cxx +++ b/xmlhelp/source/com/sun/star/help/HelpLinker.cxx @@ -4,9 +4,9 @@ * * $RCSfile: HelpLinker.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: ihi $ $Date: 2007-11-19 12:59:51 $ + * last change: $Author: ihi $ $Date: 2007-11-26 18:04:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -418,11 +418,11 @@ int readInt(std::fstream &in) { HCDBG(std::cerr << "want to read at " << in.tellg() << std::endl); int ret = 0; - for (char i = 3; i >= 0; --i) + for (int i = 3; i >= 0; --i) { unsigned char byte; in.read( (char*)&byte, 1 ); - ret |= (byte << (i*8)); + ret |= (static_cast<unsigned int>(byte) << (i*8)); HCDBG(fprintf(stderr, "inputting %x ret is now %x\n", byte, ret)); } return ret; |