From e99e96c7d1f169045f3e7cb3f9f4b3d5b4c97ec0 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Fri, 9 Jun 2017 07:04:34 +0900 Subject: [PATCH] fix typo --- src/bn_c_impl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());