From 2bd63c1c5b6a9cd38298ded24f5cbfe839a9b898 Mon Sep 17 00:00:00 2001 From: Mr_YX <496043997@qq.com> Date: Thu, 2 Jun 2022 04:05:59 +0000 Subject: [PATCH] update lite/appspawn_service.c. Signed-off-by: mr-yx <496043997@qq.com> --- lite/appspawn_service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lite/appspawn_service.c b/lite/appspawn_service.c index 33e9d4af..2caad152 100644 --- a/lite/appspawn_service.c +++ b/lite/appspawn_service.c @@ -87,7 +87,7 @@ static int GetMessageSt(MessageSt *msgSt, IpcIo *req) } size_t len = 0; - char* str = ReadString(req, &len); + uint8_t* str = ReadString(req, &len); if (str == NULL || len == 0) { APPSPAWN_LOGE("[appspawn] invoke, get data failed."); return EC_FAILURE; @@ -98,7 +98,7 @@ static int GetMessageSt(MessageSt *msgSt, IpcIo *req) } static AppSpawnContentLite *g_appSpawnContentLite = NULL; -AppSpawnContent *AppSpawnCreateContent(const char *socketName, char *longProcName, uint32_t longProcNameLen, int cold) +AppSpawnContentLite *AppSpawnCreateContent(const char *socketName,char *longProcName,uint32_t longProcNameLen,int cold) { UNUSED(longProcName); UNUSED(longProcNameLen); -- Gitee