diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-06-27 11:31:29 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-06-27 11:31:29 -0700 |
| commit | 355cce3938a815feba1085569263ae0225cebfa6 (patch) | |
| tree | d45f8bf01f9194e4f2e54e615ac4f1c740f344e7 /node/Address.hpp | |
| parent | 02d18af57d7d05d26e44ff2015f5bcf55ebce7a2 (diff) | |
| download | infinitytier-355cce3938a815feba1085569263ae0225cebfa6.tar.gz infinitytier-355cce3938a815feba1085569263ae0225cebfa6.zip | |
Rename Utils::snprintf due to it being a #define on one platform.
Diffstat (limited to 'node/Address.hpp')
| -rw-r--r-- | node/Address.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/Address.hpp b/node/Address.hpp index 9d2d1734..98e32858 100644 --- a/node/Address.hpp +++ b/node/Address.hpp @@ -144,7 +144,7 @@ public: inline std::string toString() const { char buf[16]; - Utils::snprintf(buf,sizeof(buf),"%.10llx",(unsigned long long)_a); + Utils::ztsnprintf(buf,sizeof(buf),"%.10llx",(unsigned long long)_a); return std::string(buf); }; @@ -154,7 +154,7 @@ public: */ inline void toString(char *buf,unsigned int len) const { - Utils::snprintf(buf,len,"%.10llx",(unsigned long long)_a); + Utils::ztsnprintf(buf,len,"%.10llx",(unsigned long long)_a); } /** |
