diff --git a/node/Dictionary.hpp b/node/Dictionary.hpp index 8a22b8aed..ecad4df0c 100644 --- a/node/Dictionary.hpp +++ b/node/Dictionary.hpp @@ -223,7 +223,7 @@ public: template inline bool get(const char *key,Buffer &dest) const { - const int r = this->get(key,const_cast(reinterpret_cast(dest.data())),C); + const int r = this->get(key,const_cast(reinterpret_cast(dest.data())),BC); if (r >= 0) { dest.setSize((unsigned int)r); return true;