]> code.citadel.org Git - citadel.git/blobdiff - citadel/server/modules/nntp/serv_nntp.c
Grammar change in the license declaration.
[citadel.git] / citadel / server / modules / nntp / serv_nntp.c
index c8bc6013ea5de4004485fbd039790c150997c57c..4c581db632432c11313da844022969afb446807d 100644 (file)
@@ -3,7 +3,7 @@
 // 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>
@@ -381,9 +381,9 @@ void nntp_newgroups(const char *cmd) {
        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
        }