diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-03-25 16:36:13 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-03-25 16:36:13 +1100 |
commit | 5738491674574cd913dac2ad4f3851f4a0189ef4 (patch) | |
tree | b2135bbece1469e25b70e30f45ff6ef83fa2b07f /source4/dsdb/common | |
parent | dc49ae599eacd6c118dc355609bca657b05c5dee (diff) | |
download | samba-5738491674574cd913dac2ad4f3851f4a0189ef4.tar.gz samba-5738491674574cd913dac2ad4f3851f4a0189ef4.tar.bz2 samba-5738491674574cd913dac2ad4f3851f4a0189ef4.zip |
Remove pointless cast
(This used to be commit 9a1466abbd4115f4a57d794006aca29aa0184ced)
Diffstat (limited to 'source4/dsdb/common')
-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; |