From 96c1cd762db100a11dd989f1505a265c69885bf9 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 28 Nov 2010 16:06:19 +0100 Subject: s4:introduce casts before outputs of "time_t" variables Otherwise we are getting warnings on "NetBSD". --- source4/nbt_server/wins/wins_hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/nbt_server/wins') 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++) { -- cgit