diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-12-26 10:07:05 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-12-26 10:07:05 +0000 |
commit | b26a147f04d5454c70ef76df126101d19b35ee8a (patch) | |
tree | b52bd5bcd5afc6ded4465d76e62fe1847dd031af /source3 | |
parent | ed2ed5671bf868234d540cf9e0b887a19d25cc10 (diff) | |
download | samba-b26a147f04d5454c70ef76df126101d19b35ee8a.tar.gz samba-b26a147f04d5454c70ef76df126101d19b35ee8a.tar.bz2 samba-b26a147f04d5454c70ef76df126101d19b35ee8a.zip |
fixed another couple of minor type errors (they could cause incorrect
output but not a core dump)
(This used to be commit 4dc66214a0cdf16e48cca961914fae37b3762330)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd_winsserver.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index 7bb3081e10..725e6e3747 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -282,7 +282,7 @@ BOOL initialise_wins(void) } else { - DEBUG(4, ("initialise_wins: not adding name (ttl problem) %s#%02x ttl = %ld first IP %s flags = %2x\n", + DEBUG(4, ("initialise_wins: not adding name (ttl problem) %s#%02x ttl = %d first IP %s flags = %2x\n", name, type, ttl, inet_ntoa(ip_list[0]), nb_flags)); } @@ -1549,9 +1549,9 @@ void wins_write_database(void) if (namerec->source == REGISTER_NAME) { - fprintf(fp, "%s#%02x %ld ", - namerec->name.name,namerec->name.name_type, /* Ignore scope. */ - namerec->death_time); + fprintf(fp, "%s#%02x %d ", + namerec->name.name,namerec->name.name_type, /* Ignore scope. */ + (int)namerec->death_time); for (i = 0; i < namerec->num_ips; i++) fprintf(fp, "%s ", inet_ntoa(namerec->ip[i])); |