diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-10-06 10:15:59 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-10-06 10:15:59 +0000 |
commit | 11a5abb0021ff5219a2889823276c7d5859873cb (patch) | |
tree | eb999e6a4ca954482fc84d30a222cf69ee43cd21 /registry | |
parent | 745d4257e5cc87d544c21b7b7835fb54c2473983 (diff) |
INTEGRATION: CWS intptr (1.19.16); FILE MERGED
2005/09/13 14:51:14 kendy 1.19.16.1: #i54498#
Introduce and use sal_IntPtr/sal_uIntPtr for ints where we have to store a pointer
Diffstat (limited to 'registry')
-rw-r--r-- | registry/tools/regcompare.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx index 26fc8dfbd10c..130373748a4b 100644 --- a/registry/tools/regcompare.cxx +++ b/registry/tools/regcompare.cxx @@ -4,9 +4,9 @@ * * $RCSfile: regcompare.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: rt $ $Date: 2005-09-09 05:18:48 $ + * last change: $Author: kz $ $Date: 2005-10-06 11:15:59 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1768,7 +1768,7 @@ static sal_uInt32 checkValueDifference(RegistryKey& key1, RegValueType valueType case RG_VALUETYPE_LONG: fprintf(stdout, " Registry 1: Value: Type = RG_VALUETYPE_LONG\n"); fprintf(stdout, " Size = %d\n", size1); - fprintf(stdout, " Data = %d\n", (sal_Int32)value1); + fprintf(stdout, " Data = %ld\n", (sal_IntPtr)value1); break; case RG_VALUETYPE_STRING: fprintf(stdout, " Registry 1: Value: Type = RG_VALUETYPE_STRING\n"); @@ -1851,7 +1851,7 @@ static sal_uInt32 checkValueDifference(RegistryKey& key1, RegValueType valueType case RG_VALUETYPE_LONG: fprintf(stdout, " Registry 2: Value: Type = RG_VALUETYPE_LONG\n"); fprintf(stdout, " Size = %d\n", size2); - fprintf(stdout, " Data = %d\n", (sal_Int32)value2); + fprintf(stdout, " Data = %ld\n", (sal_IntPtr)value2); break; case RG_VALUETYPE_STRING: fprintf(stdout, " Registry 2: Value: Type = RG_VALUETYPE_STRING\n"); |