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

!236 codemars问题

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