// Copyright (c) 2014-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or disclosure
-// are subject to the terms of the GNU General Public License version 3.
+// is subject to the terms of the GNU General Public License version 3.
#include "../../sysdep.h"
#include <stdlib.h>
if (!strcasecmp(stringy_gmt, "GMT")) {
tzset();
#ifdef __FreeBSD__
- thetime += &tm.tm_gmtoff;
+ thetime += (time_t) &tm.tm_gmtoff;
#else
- thetime += timezone;
+ thetime += (time_t) timezone;
#endif
}