From 96663805ecfd3248e33b4deb877c8d55cc4e8eec Mon Sep 17 00:00:00 2001 From: zhushengle Date: Fri, 31 Dec 2021 14:53:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20pm=20codex=E5=91=8A=E8=AD=A6=E6=B8=85?= =?UTF-8?q?=E9=9B=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Close #I4OWPE Signed-off-by: zhushengle Change-Id: I07f6db919062090b917ce991198f769032365472 --- components/power/los_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/power/los_pm.c b/components/power/los_pm.c index a765e28a..18b21b15 100644 --- a/components/power/los_pm.c +++ b/components/power/los_pm.c @@ -664,7 +664,7 @@ UINT32 LOS_PmLockRelease(const CHAR *name) STATIC VOID OsPmSwtmrHandler(UINT32 arg) { - const CHAR *name = (const CHAR *)arg; + const CHAR *name = (const CHAR *)(UINTPTR)arg; UINT32 ret = LOS_PmLockRelease(name); if (ret != LOS_OK) { PRINT_ERR("Pm delay lock %s release faled! : 0x%x\n", name, ret);