summaryrefslogtreecommitdiff
path: root/node/Utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Utils.hpp')
-rw-r--r--node/Utils.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Utils.hpp b/node/Utils.hpp
index 8f61d396..87584fcf 100644
--- a/node/Utils.hpp
+++ b/node/Utils.hpp
@@ -148,7 +148,7 @@ public:
static inline char *hex(const void *d,unsigned int l,char *s)
{
- char *save = s;
+ char *const save = s;
for(unsigned int i=0;i<l;++i) {
const unsigned int b = reinterpret_cast<const uint8_t *>(d)[i];
*(s++) = HEXCHARS[b >> 4];