Fix some warnings.

This commit is contained in:
Unknown W. Brackets committed 2013-08-13 21:05:54 -07:00
1 parent 65d4601140
commit 8ab67b1674
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -305,8 +305,8 @@ int sceNetAdhocTerm() {
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 (size_t i = 0; i < len; i++)
int len = (int)strlen(mac);
for (int i = 0; i < len; i++)
Memory::Write_U8(mac[i], bufferPtr + i);
}
else