diff options
-rw-r--r-- | node/Dictionary.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Dictionary.hpp b/node/Dictionary.hpp index 8a22b8ae..ecad4df0 100644 --- a/node/Dictionary.hpp +++ b/node/Dictionary.hpp @@ -223,7 +223,7 @@ public: template<unsigned int BC> inline bool get(const char *key,Buffer<BC> &dest) const { - const int r = this->get(key,const_cast<char *>(reinterpret_cast<const char *>(dest.data())),C); + const int r = this->get(key,const_cast<char *>(reinterpret_cast<const char *>(dest.data())),BC); if (r >= 0) { dest.setSize((unsigned int)r); return true; |