已合并
Fix signed/unsigned mismatch #172
pengyanggit创建于 8月3日
Fix signed/unsigned mismatch #172
已合并
共 2 个文件变更+2-2
| @@ -40,7 +40,7 @@ const std::map<int32_t, int32_t> JsUtils::SERVICE_ERROR_CODE_MAP = { | |||
| 40 | 40 | ||
| 41 | const std::map<int32_t, std::string> JsUtils::ERROR_CODE_CONVERT_MESSAGE_MAP = { | 41 | const std::map<int32_t, std::string> JsUtils::ERROR_CODE_CONVERT_MESSAGE_MAP = { |
| 42 | { EXCEPTION_PARAMCHECK, "The parameters check fails." }, | 42 | { EXCEPTION_PARAMCHECK, "The parameters check fails." }, |
| 43 | - { EXCEPTION_SELECTION_SERVICE, "Selection service exception." }, | 43 | + { EXCEPTION_SELECTION_SERVICE, "Selection service invocation exception." }, |
| 44 | { EXCEPTION_NOT_SYSTEM_APP, "Permission denied. Called by non-system application."}, | 44 | { EXCEPTION_NOT_SYSTEM_APP, "Permission denied. Called by non-system application."}, |
| 45 | { EXCEPTION_PANEL_DESTROYED, "This selection window has been destroyed." }, | 45 | { EXCEPTION_PANEL_DESTROYED, "This selection window has been destroyed." }, |
| 46 | { EXCEPTION_INVALID_OPERATION, "The application calling the API does not match the application \ | 46 | { EXCEPTION_INVALID_OPERATION, "The application calling the API does not match the application \ |
| @@ -184,7 +184,7 @@ private: | |||
| 184 | 184 | ||
| 185 | // 插件 .so 句柄和函数指针 | 185 | // 插件 .so 句柄和函数指针 |
| 186 | void* pluginSo_ = nullptr; | 186 | void* pluginSo_ = nullptr; |
| 187 | - int32_t pluginUnloadTimerId_ {0}; // 插件自动卸载定时器ID | 187 | + uint32_t pluginUnloadTimerId_ {0}; // 插件自动卸载定时器ID |
| 188 | DatabaseSaveConfigFunc databaseSave_ = nullptr; | 188 | DatabaseSaveConfigFunc databaseSave_ = nullptr; |
| 189 | DatabaseGetConfigFunc databaseGet_ = nullptr; | 189 | DatabaseGetConfigFunc databaseGet_ = nullptr; |
| 190 | DatabaseIsAvailableFunc databaseAvailable_ = nullptr; | 190 | DatabaseIsAvailableFunc databaseAvailable_ = nullptr; |