git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc49ae5
)
Remove pointless cast
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 25 Mar 2008 05:36:13 +0000
(16:36 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 25 Mar 2008 05:36:13 +0000
(16:36 +1100)
(This used to be commit
9a1466abbd4115f4a57d794006aca29aa0184ced
)
source4/dsdb/common/util.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util.c
b/source4/dsdb/common/util.c
index 8a7a22a641e98dd429f7771ed336a362d6e4ccf4..1220a5c8553e78deb6ebf98d9ef1d80b16105be7 100644
(file)
--- 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;