diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-28 16:06:19 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-11-28 16:38:16 +0100 |
commit | 96c1cd762db100a11dd989f1505a265c69885bf9 (patch) | |
tree | 74bbb16199020216ba73dcac6e03c04f243227ce /source4/torture/rpc | |
parent | 7128c15b65381da8e37be3cbd31d3b8310fd49aa (diff) | |
download | samba-96c1cd762db100a11dd989f1505a265c69885bf9.tar.gz samba-96c1cd762db100a11dd989f1505a265c69885bf9.tar.bz2 samba-96c1cd762db100a11dd989f1505a265c69885bf9.zip |
s4:introduce casts before outputs of "time_t" variables
Otherwise we are getting warnings on "NetBSD".
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/samr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index a57cdb84c6..8ee1198de4 100644 --- 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); |