diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-10-06 10:04:01 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-10-06 10:04:01 +0000 |
commit | 7bbd98ab32b94eb987fd78b84bb5dc6c0a2843d1 (patch) | |
tree | aab5066a4a794485d673b1063b7c368aa306a947 /tools | |
parent | 7fd39c6b078b19ebd85bd2aa74269e5bb82e1164 (diff) |
INTEGRATION: CWS intptr (1.8.320); FILE MERGED
2005/09/13 14:51:06 kendy 1.8.320.1: #i54498#
Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bootstrp/command.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/bootstrp/command.cxx b/tools/bootstrp/command.cxx index 3c0466a6249a..118285c54a79 100644 --- a/tools/bootstrp/command.cxx +++ b/tools/bootstrp/command.cxx @@ -4,9 +4,9 @@ * * $RCSfile: command.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2005-09-09 13:28:07 $ + * last change: $Author: kz $ $Date: 2005-10-06 11:04:01 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -418,7 +418,7 @@ void CCommand::ImplInit() (void) strcpy( pTmpStr, aCommandLine.GetToken(i, ' ' ).GetBuffer() ); USHORT nStrLen = strlen( pTmpStr ) + 1; strcpy( pChar, pTmpStr ); - *pPtr = (unsigned int) pChar; + *pPtr = (sal_uIntPtr) pChar; pChar += nStrLen; pPtr += 1; #ifdef UNX @@ -431,7 +431,7 @@ void CCommand::ImplInit() aCommandLine.Erase(0, 16); i = nArgc; strcpy( pChar, aCommandLine.GetBuffer() ); - *pPtr = ( unsigned int ) pChar; + *pPtr = (sal_uIntPtr) pChar; pPtr += 1; } #endif |