From d7186fe43618eeb9082c34a65ccb303f7bbc770d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 24 Apr 2013 15:16:31 +0200 Subject: Copy/paste error Change-Id: I0c6e0ecc5c9e6289a2afe733d4752351416900a8 --- unoidl/source/reg2unoidl.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unoidl') 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)); } -- cgit