summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/libnet_time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_time.c b/source4/libnet/libnet_time.c
index b0d304ffcc..ddf26876b9 100644
--- a/source4/libnet/libnet_time.c
+++ b/source4/libnet/libnet_time.c
@@ -82,7 +82,7 @@ static NTSTATUS libnet_RemoteTOD_srvsvc(struct libnet_context *ctx, TALLOC_CTX *
tm.tm_isdst = -1;
r->srvsvc.out.time = timegm(&tm);
- r->srvsvc.out.time_zone = ((int32_t)tod.out.info->timezone) * 60;
+ r->srvsvc.out.time_zone = tod.out.info->timezone * 60;
goto disconnect;