From 04ae1c8c76ebc90ea02bfe806b709f7c81aac52e Mon Sep 17 00:00:00 2001 From: Hobby-Student Date: Fri, 2 May 2014 18:27:03 +0200 Subject: [PATCH] FreeBSD compile errors - fix timezone --- libfreerdp/locale/timezone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfreerdp/locale/timezone.c b/libfreerdp/locale/timezone.c index 88dddac0e..b83471a82 100644 --- a/libfreerdp/locale/timezone.c +++ b/libfreerdp/locale/timezone.c @@ -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