From 200b439aa0190fb4e330ee7cd02885a2575be691 Mon Sep 17 00:00:00 2001 From: Mupceet Date: Wed, 22 Jun 2022 17:11:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=91=8A=E8=AD=A6=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mupceet --- frameworks/aafwk/include/accessible_ability_channel_client.h | 2 +- frameworks/common/src/accessibility_constants.cpp | 2 +- interfaces/innerkits/common/include/accessibility_constants.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/aafwk/include/accessible_ability_channel_client.h b/frameworks/aafwk/include/accessible_ability_channel_client.h index 7ed5fd595..211ad454d 100644 --- a/frameworks/aafwk/include/accessible_ability_channel_client.h +++ b/frameworks/aafwk/include/accessible_ability_channel_client.h @@ -179,7 +179,7 @@ public: private: int32_t GenrateRequestId(); - uint32_t channelId_ = INVALID_CHANNEL_ID; + int32_t channelId_ = INVALID_CHANNEL_ID; sptr proxy_ = nullptr; std::atomic requestId_ = 0; }; diff --git a/frameworks/common/src/accessibility_constants.cpp b/frameworks/common/src/accessibility_constants.cpp index 0d41a88e4..90a7d2a25 100644 --- a/frameworks/common/src/accessibility_constants.cpp +++ b/frameworks/common/src/accessibility_constants.cpp @@ -95,6 +95,6 @@ const uint32_t STATE_INVETRTCOLOR_ENABLED = 0x00000200; const uint32_t STATE_ANIMATIONOFF_ENABLED = 0x00000400; const uint32_t STATE_AUDIOMONO_ENABLED = 0x00000800; -const uint32_t INVALID_CHANNEL_ID = 0xFFFFFFFF; +const int32_t INVALID_CHANNEL_ID = 0xFFFFFFFF; } // namespace Accessibility } // namespace OHOS \ No newline at end of file diff --git a/interfaces/innerkits/common/include/accessibility_constants.h b/interfaces/innerkits/common/include/accessibility_constants.h index 96a9ed91b..d9d9abab8 100644 --- a/interfaces/innerkits/common/include/accessibility_constants.h +++ b/interfaces/innerkits/common/include/accessibility_constants.h @@ -98,7 +98,7 @@ extern const uint32_t STATE_HIGHCONTRAST_ENABLED; extern const uint32_t STATE_INVETRTCOLOR_ENABLED; extern const uint32_t STATE_ANIMATIONOFF_ENABLED; extern const uint32_t STATE_AUDIOMONO_ENABLED; -extern const uint32_t INVALID_CHANNEL_ID; +extern const int32_t INVALID_CHANNEL_ID; } // namespace Accessibility } // namespace OHOS #endif // ACCESSIBILITY_CONSTANTS_H \ No newline at end of file