summaryrefslogtreecommitdiff
path: root/registry/tools
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-06 10:15:59 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-06 10:15:59 +0000
commit1b029ada08bb8bc2e7790bdc070b8358fb54242b (patch)
tree7b5569af694a24040b4472eedc066950fe2d7d5b /registry/tools
parentb64adc0c456473dfe9902c73c34d0414e2c0f310 (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/tools')
-rw-r--r--registry/tools/regcompare.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx
index 43e453d64..73e13810c 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");