From 336a8b3bc2fb7c3123756a8e93082dbe85ecfaee Mon Sep 17 00:00:00 2001 From: Dave Hickin Date: Thu, 18 Feb 2016 18:56:04 +0000 Subject: [PATCH] Fix win32 deserialization test fail --- src/misc/bitSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/bitSet.cpp b/src/misc/bitSet.cpp index a2110f9..de19ea9 100644 --- a/src/misc/bitSet.cpp +++ b/src/misc/bitSet.cpp @@ -359,7 +359,7 @@ namespace epics { namespace pvData { words[j] = 0; for (uint32 remaining = (bytes - longs * 8), j = 0; j < remaining; j++) - words[i] |= (buffer->getByte() & 0xffL) << (8 * j); + words[i] |= (buffer->getByte() & 0xffLL) << (8 * j); }