!8261 fix:replace int with int_32_t

Merge pull request !8261 from wangyipeng/master
This commit is contained in:
openharmony_ci 2024-11-04 12:44:36 +00:00 committed by Gitee
commit 06601c43c8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1736,7 +1736,7 @@ static void TransWifiOnLineProc(const char *peerNetworkId)
TRANS_LOGE(TRANS_CTRL, "invalid networkId");
return;
}
int ret = NotifyNearByOnMigrateEvents(peerNetworkId, WIFI_STA, true);
int32_t ret = NotifyNearByOnMigrateEvents(peerNetworkId, WIFI_STA, true);
if (ret == SOFTBUS_OK) {
TRANS_LOGI(TRANS_CTRL, "notify upgrade migrate success");
return;
@ -1751,7 +1751,7 @@ static void TransWifiOffLineProc(const char *peerNetworkId)
TRANS_LOGE(TRANS_CTRL, "invalid networkId");
return;
}
int ret = NotifyNearByOnMigrateEvents(peerNetworkId, WIFI_STA, false);
int32_t ret = NotifyNearByOnMigrateEvents(peerNetworkId, WIFI_STA, false);
if (ret == SOFTBUS_OK) {
TRANS_LOGI(TRANS_CTRL, "notify degrade migrate success");
return;