Core/Calendar: Fix warning

Fix warning added b6048f89f7456ab683901f12ea4f90ac5d23be70 about signed/unsigned comparison mismatch