mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-24 06:50:08 +03:00
Fix C4296 warning: Resolve comparison of unsigned int with 0
This commit is contained in:
parent
b8234e8c73
commit
fe7f835f32
@ -1403,7 +1403,7 @@ static const unsigned int daysInMonthLeap[12] =
|
||||
((dt)->hour == 24 && (dt)->min == 0 && (dt)->sec == 0)
|
||||
|
||||
#define VALID_TIME(dt) \
|
||||
(((VALID_HOUR((int)dt->hour) && VALID_MIN((int)dt->min) && \
|
||||
((((dt->hour < 24) && (dt->min < 60) && \
|
||||
VALID_SEC(dt->sec)) || VALID_END_OF_DAY(dt)) && \
|
||||
VALID_TZO(dt->tzo))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user