Fix:replace int with int_32_t

Signed-off-by: wangyipeng <wangyipeng11@huawei.com>
This commit is contained in:
wangyipeng 2024-11-04 17:34:12 +08:00
parent 609b9907b1
commit b8e9836d08

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;