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

!39 kora工具检视问题修复

Merge pull request !39 from wangchen/0322_d
......@@ -142,7 +142,7 @@ static int HieventBufferCopy(unsigned char *dst, unsigned dstLen,
static int HieventReadRingBuffer(unsigned char *buffer, size_t bufLen)
{
size_t retval;
int retval;
size_t bufLeft = HIEVENT_LOG_BUFFER - g_hieventDev.headOffset;
if (bufLeft > bufLen) {
retval = HieventBufferCopy(buffer, bufLen, HieventBufferHead(), bufLen);
......@@ -160,7 +160,7 @@ static int HieventReadRingBuffer(unsigned char *buffer, size_t bufLen)
static ssize_t HieventRead(struct file *filep, char *buffer, size_t bufLen)
{
size_t retval;
ssize_t retval;
struct HieventEntry header;
(void)filep;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册