summaryrefslogtreecommitdiff
path: root/node/Node.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2015-04-24 13:35:17 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2015-04-24 13:35:17 -0700
commit54954f5b8886bd6ea49e043fa5a695fcd7608c68 (patch)
tree91ad3d67c37de78a098d3d73b52d572515c1f252 /node/Node.cpp
parent883a216d2a5f3d3cbddd230796d15da0af9bfab7 (diff)
downloadinfinitytier-54954f5b8886bd6ea49e043fa5a695fcd7608c68.tar.gz
infinitytier-54954f5b8886bd6ea49e043fa5a695fcd7608c68.zip
First pass of Windows cleanup and build fixes...
Diffstat (limited to 'node/Node.cpp')
-rw-r--r--node/Node.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index 2ffdeb96..855b8266 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -60,7 +60,7 @@ Node::Node(
ZT1_EventCallback eventCallback,
const char *overrideRootTopology) :
RR(new RuntimeEnvironment(this)),
- _uptr(uptr),
+ _uPtr(uptr),
_dataStoreGetFunction(dataStoreGetFunction),
_dataStorePutFunction(dataStorePutFunction),
_wirePacketSendFunction(wirePacketSendFunction),
@@ -426,7 +426,7 @@ std::string Node::dataStoreGet(const char *name)
std::string r;
unsigned long olen = 0;
do {
- long n = _dataStoreGetFunction(reinterpret_cast<ZT1_Node *>(this),_uptr,name,buf,sizeof(buf),r.length(),&olen);
+ long n = _dataStoreGetFunction(reinterpret_cast<ZT1_Node *>(this),_uPtr,name,buf,sizeof(buf),r.length(),&olen);
if (n <= 0)
return std::string();
r.append(buf,n);