summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-24 15:16:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-24 15:16:31 +0200
commitd7186fe43618eeb9082c34a65ccb303f7bbc770d (patch)
treea34bb5b4175e5d9f730b7bd86b6f6096011f0700 /unoidl
parent52b23b98a41aa78afa61c49179d10afee3f37643 (diff)
Copy/paste error
Change-Id: I0c6e0ecc5c9e6289a2afe733d4752351416900a8
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/reg2unoidl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unoidl/source/reg2unoidl.cxx b/unoidl/source/reg2unoidl.cxx
index 0f0b53ebfb3b..a311147261d9 100644
--- a/unoidl/source/reg2unoidl.cxx
+++ b/unoidl/source/reg2unoidl.cxx
@@ -150,10 +150,10 @@ void write64(osl::File & file, sal_uInt64 value) {
buf[1] = (value >> 8) & 0xFF;
buf[2] = (value >> 16) & 0xFF;
buf[3] = (value >> 24) & 0xFF;
- buf[3] = (value >> 32) & 0xFF;
- buf[3] = (value >> 40) & 0xFF;
- buf[3] = (value >> 48) & 0xFF;
- buf[3] = (value >> 56) & 0xFF;
+ buf[4] = (value >> 32) & 0xFF;
+ buf[5] = (value >> 40) & 0xFF;
+ buf[6] = (value >> 48) & 0xFF;
+ buf[7] = (value >> 56) & 0xFF;
write(file, buf, SAL_N_ELEMENTS(buf));
}