Explicit conversion to avoid compiler warning

Small change just to avoid compiler warning