mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Avoid compilation warning
This commit is contained in:
parent
ee2a24b19a
commit
f3dd1d908b
1 changed files with 1 additions and 1 deletions
|
@ -2222,7 +2222,7 @@ int initNetwork(SceNetAdhocctlAdhocId *adhoc_id){
|
|||
u64 now = (u64)(time_now_d() * 1000000.0);
|
||||
if (coreState == CORE_POWERDOWN)
|
||||
return iResult;
|
||||
if (now - startTime > (u64)(getSockError((int)metasocket) == EINPROGRESS ? adhocDefaultTimeout*2LL: adhocDefaultTimeout))
|
||||
if (static_cast<s64>(now - startTime) > (getSockError((int)metasocket) == EINPROGRESS ? adhocDefaultTimeout*2LL: adhocDefaultTimeout))
|
||||
break;
|
||||
sleep_ms(10);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue