diff --git a/interfaces/kits/js/file_share/grant_permissions.cpp b/interfaces/kits/js/file_share/grant_permissions.cpp index b0be83bc188b7e699e5f413702a58a906802036a..d47c5e97689344433409145a517e5b871bb65f98 100644 --- a/interfaces/kits/js/file_share/grant_permissions.cpp +++ b/interfaces/kits/js/file_share/grant_permissions.cpp @@ -38,7 +38,7 @@ const char *g_fullMountEnableParameter = "const.filemanager.full_mout.enable"; static bool IsSystemApp() { - uint32_t fullTokenId = OHOS::IPCSkeleton::GetCallingFullTokenID(); + uint64_t fullTokenId = OHOS::IPCSkeleton::GetCallingFullTokenID(); return Security::AccessToken::TokenIdKit::IsSystemAppByFullTokenID(fullTokenId); }