Ensure we always return an integer for the mask field in core.info

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>