chore: 解决 cmsis_liteos2.c:115:23: warning 编译告警

Signed-off-by: laojr1 <laojr1@midea.com>
This commit is contained in:
老家荣 2021-12-23 09:54:49 +08:00
parent 4334b3e18b
commit cbcd297a3a
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ osStatus_t osKernelGetInfo(osVersion_t *version, char *id_buf, uint32_t id_size)
}
uwRet = memcpy_s(id_buf, id_size, KERNEL_ID, id_size);
if (uwRet != EOK) {
PRINT_ERR("%s[%d] memcpy failed, error type = %u\n", __FUNCTION__, __LINE__, uwRet);
PRINT_ERR("%s[%d] memcpy failed, error type = %lu\n", __FUNCTION__, __LINE__, uwRet);
return osError;
}
}