summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-28 16:06:19 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-28 16:38:16 +0100
commit96c1cd762db100a11dd989f1505a265c69885bf9 (patch)
tree74bbb16199020216ba73dcac6e03c04f243227ce /source4/nbt_server
parent7128c15b65381da8e37be3cbd31d3b8310fd49aa (diff)
downloadsamba-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/nbt_server')
-rw-r--r--source4/nbt_server/wins/wins_hook.c2
1 files changed, 1 insertions, 1 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++) {