FreeBSD compile errors - fix timezone

This commit is contained in:
Hobby-Student 2014-05-02 18:27:03 +02:00
parent 5d816027df
commit 04ae1c8c76

View File

@ -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 = (int) timezone / 60;
clientTimeZone->bias = 0;
#else
clientTimeZone->bias = timezone / 60;
#endif