mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 16:59:54 +00:00
Fix:replace int with int_32_t
Signed-off-by: wangyipeng <wangyipeng11@huawei.com>
This commit is contained in:
parent
609b9907b1
commit
b8e9836d08
@ -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