diff options
-rw-r--r-- | source4/nbt_server/wins/wins_hook.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/samr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/nbt_server/wins/wins_hook.c b/source4/nbt_server/wins/wins_hook.c index 9753a86670..1af471b15b 100644 --- a/source4/nbt_server/wins/wins_hook.c +++ b/source4/nbt_server/wins/wins_hook.c @@ -61,7 +61,7 @@ void wins_hook(struct winsdb_handle *h, const struct winsdb_record *rec, wins_hook_action_string(action), rec->name->name, rec->name->type, - rec->expire_time); + (long int) rec->expire_time); if (!cmd) goto failed; for (i=0; rec->addresses[i]; i++) { 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); |