diff --git a/services/src/input_method_system_ability.cpp b/services/src/input_method_system_ability.cpp index 40f6e9a..e24eb26 100644 --- a/services/src/input_method_system_ability.cpp +++ b/services/src/input_method_system_ability.cpp @@ -285,7 +285,7 @@ namespace MiscServices { \return ErrorCode::NO_ERROR no error \return ErrorCode::ERROR_USER_NOT_UNLOCKED user not unlocked */ - int32_t InputMethodSystemAbility::getDisplayMode(int32_t retMode) + int32_t InputMethodSystemAbility::getDisplayMode(int32_t &retMode) { int32_t uid = IPCSkeleton::GetCallingUid(); int32_t userId = getUserId(uid);