Fix build with guarded heap on x86_64

* Type mismatch.