FreeBSD compile errors - fix typecast
This commit is contained in:
parent
923d9d6365
commit
5d816027df
@ -1665,7 +1665,7 @@ void freerdp_time_zone_detect(TIME_ZONE_INFO* clientTimeZone)
|
||||
#ifdef HAVE_TM_GMTOFF
|
||||
#if defined(__FreeBSD__)
|
||||
/*not the best solution, but could not get the right tyepcast*/
|
||||
clientTimeZone->bias = timezone;
|
||||
clientTimeZone->bias = (int) timezone / 60;
|
||||
#else
|
||||
clientTimeZone->bias = timezone / 60;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user