diff options
-rw-r--r-- | source4/dsdb/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 8a7a22a641..1220a5c855 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -450,7 +450,7 @@ NTTIME samdb_result_account_expires(struct ldb_message *msg) NTTIME ret = ldb_msg_find_attr_as_uint64(msg, "accountExpires", 0); - if (ret == (NTTIME)0) + if (ret == 0) ret = 0x7FFFFFFFFFFFFFFFULL; return ret; |