mirror of
https://github.com/openharmony/drivers_framework.git
synced 2026-08-27 02:42:28 -04:00
fix: clear potential risk of framework
Signed-off-by: guodongqi <guodongqi2@huawei.com>
This commit is contained in:
@@ -43,7 +43,7 @@ static void TestWorkEntry(void *para)
|
||||
static int cnt = 0;
|
||||
if (para != NULL) {
|
||||
if (cnt % DELAY_TIME_DEFAULT == 0) {
|
||||
HDF_LOGE("%s %d", __func__, *(uint32_t *)para);
|
||||
HDF_LOGE("%s %u", __func__, *(uint32_t *)para);
|
||||
}
|
||||
cnt++;
|
||||
}
|
||||
@@ -56,7 +56,7 @@ static void TestDelayWorkEntry(void *para)
|
||||
|
||||
if (para != NULL) {
|
||||
if (cnt % DELAY_TIME_DEFAULT == 0) {
|
||||
HDF_LOGE("%s %d", __func__, *(uint32_t *)para);
|
||||
HDF_LOGE("%s %u", __func__, *(uint32_t *)para);
|
||||
}
|
||||
cnt++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user