diff --git a/src/bn_c_impl.hpp b/src/bn_c_impl.hpp index 8e9777b..813c6fe 100644 --- a/src/bn_c_impl.hpp +++ b/src/bn_c_impl.hpp @@ -143,7 +143,7 @@ int mclBn_getOpUnitSize() return Fp::getUnitSize() * sizeof(mcl::fp::Unit) / sizeof(uint64_t); } -size_t copyStrAndReturnSize(chat *buf, size_t maxBufSize, const std::string& str) +size_t copyStrAndReturnSize(char *buf, size_t maxBufSize, const std::string& str) { if (str.size() >= maxBufSize) return 0; strcpy(buf, str.c_str());