raspberrypi / utils

A collection of scripts and simple applications
BSD 3-Clause "New" or "Revised" License
136 stars 41 forks source link

ovmerge: Allow it to run on 32-bit Perls #26

Closed pelwell closed 1 year ago

pelwell commented 1 year ago

Perl can be configured at build time to support 64-bit integers - ivsize=8 - even on 32-bit platforms. The Raspberry Pi Perl builds are configured this way but some aren't, causing interpreter errors on the 64-bit mask value 0xffffffffffffffff. Replacing this with a -1 has no negative effect when ivsize=8, and it allows the tool to run when ivsize=4 (without supporting values > 32-bit).

See: #23