[Libreoffice-commits] core.git: unoidl/source
Stephan Bergmann
sbergman at redhat.com
Wed Apr 24 06:16:57 PDT 2013
unoidl/source/reg2unoidl.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit d7186fe43618eeb9082c34a65ccb303f7bbc770d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Apr 24 15:16:31 2013 +0200
Copy/paste error
Change-Id: I0c6e0ecc5c9e6289a2afe733d4752351416900a8
diff --git a/unoidl/source/reg2unoidl.cxx b/unoidl/source/reg2unoidl.cxx
index 0f0b53e..a311147 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));
}
More information about the Libreoffice-commits
mailing list