Fix warning in sceNet.cpp.

This commit is contained in:
The Dax 2013-07-23 16:44:42 -04:00
parent 3139c5f97f
commit 75dcbc0f09

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