summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-15 09:48:16 +0000
committerStefan Metzmacher <metze@samba.org>2014-07-22 15:32:39 +0200
commitb3d1d56b5e41435b25eafad2b21b867192cbaecd (patch)
tree7e8b12e17c7aa40589a09a63b66d22cc421979a9 /source3/nmbd
parentf77caa3325570514dda20474b910218fd44d10a1 (diff)
downloadsamba-b3d1d56b5e41435b25eafad2b21b867192cbaecd.tar.gz
smbd/nmbd: Remove HAVE_LONGLONG
We always have 64-bit variables available by now Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_winsserver.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index 65242847916..e09d1a01764 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -146,9 +146,7 @@ static struct name_record *wins_record_to_name_record(TDB_DATA key, TDB_DATA dat
namerec->data.death_time = (time_t)death_time;
namerec->data.refresh_time = (time_t)refresh_time;
namerec->data.id = id_low;
-#if defined(HAVE_LONGLONG)
namerec->data.id |= ((uint64_t)id_high << 32);
-#endif
namerec->data.wins_ip.s_addr = saddr;
namerec->data.wins_flags = wins_flags,
namerec->data.num_ips = num_ips;
@@ -170,11 +168,7 @@ static TDB_DATA name_record_to_wins_record(const struct name_record *namerec)
size_t len = 0;
int i;
uint32 id_low = (namerec->data.id & 0xFFFFFFFF);
-#if defined(HAVE_LONGLONG)
uint32 id_high = (namerec->data.id >> 32) & 0xFFFFFFFF;
-#else
- uint32 id_high = 0;
-#endif
ZERO_STRUCT(data);