[CORE] Fix compile warning for 64-bit systems

Signed-off-by: Anup Patel <anup@brainfault.org>