Fix compilation on 32bit machines Upstream-commit: 59469c63dfe351eacd29a57e84abf8ee5eeb5948 Component: engine