git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:introduce casts before outputs of "time_t" variables
[ira/wip.git]
/
source4
/
torture
/
rpc
/
samr.c
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index a57cdb84c60fcb53c812e506328203e1f03c66d7..8ee1198de415c8c2b3dd262d450441a31893bac2 100644
(file)
--- a/
source4/torture/rpc/samr.c
+++ b/
source4/torture/rpc/samr.c
@@
-1171,7
+1171,7
@@
static bool test_SetUserPass_level_ex(struct dcerpc_pipe *p,
}
if (fields_present & SAMR_FIELD_COMMENT) {
- comment = talloc_asprintf(tctx, "comment: %ld\n", time(NULL));
+ comment = talloc_asprintf(tctx, "comment: %ld\n",
(long int)
time(NULL));
}
ZERO_STRUCT(u);