Added missing NUM2INT macro.