mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #2902 from thedax/sceNetWarningFix
Fix warning in sceNet.cpp.
This commit is contained in:
commit
a41e5e4403
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ int sceNetEtherNtostr(const char *mac, u32 bufferPtr) {
|
|||
DEBUG_LOG(HLE, "UNTESTED sceNetEtherNtostr(%s, %x)", mac, bufferPtr);
|
||||
if(Memory::IsValidAddress(bufferPtr)) {
|
||||
size_t len = strlen(mac);
|
||||
for (int i = 0; i < len; i++)
|
||||
for (size_t i = 0; i < len; i++)
|
||||
Memory::Write_U8(mac[i], bufferPtr + i);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue