diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/base32.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base32.cc b/src/base32.cc index a528055e..3b15843c 100644 --- a/src/base32.cc +++ b/src/base32.cc @@ -122,7 +122,7 @@ std::string decode(const std::string& src) } buf >>= (bits%8); bits = bits/8*8; - buf = ntoh64(buf); + buf = hton64(buf); char* p = reinterpret_cast<char*>(&buf); ret += std::string(&p[(64-bits)/8], &p[8]); } |
