mirror of https://github.com/FreeRDP/FreeRDP
[winpr,timezone] fix missing const
This commit is contained in:
parent
95a7f5019a
commit
474e3fa983
|
@ -355,10 +355,10 @@ static SYSTEMTIME tm2systemtime(const struct tm* t)
|
|||
return st;
|
||||
}
|
||||
|
||||
static LONG get_gmtoff_min(struct tm* t)
|
||||
static LONG get_gmtoff_min(const struct tm* t)
|
||||
{
|
||||
WINPR_ASSERT(t);
|
||||
return -t->tm_gmtoff / 60l;
|
||||
return -(LONG)(t->tm_gmtoff / 60l);
|
||||
}
|
||||
|
||||
static struct tm next_day(const struct tm* start)
|
||||
|
|
Loading…
Reference in New Issue