mirror of
https://github.com/corda/corda.git
synced 2025-01-01 02:36:44 +00:00
fix math bug in parseFieldTable which lead to incorrect objectMasks
This commit is contained in:
parent
912617c4ff
commit
aec0c29084
@ -804,7 +804,7 @@ parseFieldTable(Thread* t, Stream& s, object class_, object pool)
|
|||||||
memcpy(&intArrayBody(t, mask, 0),
|
memcpy(&intArrayBody(t, mask, 0),
|
||||||
&intArrayBody(t, superMask, 0),
|
&intArrayBody(t, superMask, 0),
|
||||||
ceiling(classFixedSize(t, classSuper(t, class_)),
|
ceiling(classFixedSize(t, classSuper(t, class_)),
|
||||||
BitsPerWord * BytesPerWord)
|
32 * BytesPerWord)
|
||||||
* 4);
|
* 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user