is broken on !amd64 64-bit arch which invalidates assumptions in the code. Workaround by taking a diff from clamav upstream. This fixes a problem reported by Markus Lude where freshclam signature checks fail - researched by him and port diff from him (I just added a bit of commentary to the patch file).