未验证 提交 0766dbb6 编写于 作者: O openharmony_ci 提交者: Gitee

!266 ipc 测试用例失败问题解决

Merge pull request !266 from 周礼亭/master
......@@ -72,7 +72,7 @@ void BinderTraceTest::TearDownTestCase()
static std::string HitraceLongToString(unsigned long data)
{
std::string result;
constexpr int BUFFER_SIZE = 16;
constexpr int BUFFER_SIZE = 21;
char str[BUFFER_SIZE] = {0};
if (sprintf_s(str, sizeof(str), "%lu", data) <= 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册