mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 16:59:54 +00:00
!8261 fix:replace int with int_32_t
Merge pull request !8261 from wangyipeng/master
This commit is contained in:
commit
06601c43c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user