Merge pull request #2902 from thedax/sceNetWarningFix

Fix warning in sceNet.cpp.
This commit is contained in:
Henrik Rydgård 2013-07-24 12:39:33 -07:00
commit a41e5e4403

View file

@ -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