summaryrefslogtreecommitdiff
path: root/node/Multicaster.cpp
diff options
context:
space:
mode:
authorGrant Limberg <[email protected]>2016-11-03 12:10:50 -0700
committerGrant Limberg <[email protected]>2016-11-03 12:10:50 -0700
commit8ffae313fd5042bb4330afd98019e4ee907714cb (patch)
treebafa4a54f0a9e3ec57e4fba1b9e10b37b531b105 /node/Multicaster.cpp
parent8cced06a2dff66300a46e2962cd462f58096b15c (diff)
add new files & remove old ones from VS project. Now builds & runs on Windows again
Diffstat (limited to 'node/Multicaster.cpp')
-rw-r--r--node/Multicaster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Multicaster.cpp b/node/Multicaster.cpp
index 8743e8f8..17649c7b 100644
--- a/node/Multicaster.cpp
+++ b/node/Multicaster.cpp
@@ -343,7 +343,7 @@ void Multicaster::clean(uint64_t now)
{
Mutex::Lock _l(_gatherAuth_m);
_GatherAuthKey *k = (_GatherAuthKey *)0;
- uint64_t *ts = (uint64_t *)ts;
+ uint64_t *ts = NULL;
Hashtable<_GatherAuthKey,uint64_t>::Iterator i(_gatherAuth);
while (i.next(k,ts)) {
if ((now - *ts) >= ZT_MULTICAST_CREDENTIAL_EXPIRATON)