FreeBSD compile errors - fix timezone
authorHobby-Student <chris.onkel@gmx.de>
Fri, 2 May 2014 16:27:03 +0000 (18:27 +0200)
committerHobby-Student <chris.onkel@gmx.de>
Fri, 2 May 2014 16:27:03 +0000 (18:27 +0200)
libfreerdp/locale/timezone.c

index 88dddac..b83471a 100644 (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