mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix some warnings.
This commit is contained in:
parent
65d4601140
commit
8ab67b1674
4 changed files with 7 additions and 7 deletions
|
@ -268,7 +268,7 @@ int VirtualDiscFileSystem::getFileListIndex(std::string& fileName)
|
|||
|
||||
fileList.push_back(entry);
|
||||
|
||||
return fileList.size()-1;
|
||||
return (int)fileList.size()-1;
|
||||
}
|
||||
|
||||
int VirtualDiscFileSystem::getFileListIndex(u32 accessBlock, u32 accessSize, bool blockMode)
|
||||
|
|
|
@ -124,9 +124,9 @@ private:
|
|||
HandlerFileHandle handler;
|
||||
VirtualFileType type;
|
||||
u32 fileIndex;
|
||||
u32 curOffset;
|
||||
u32 startOffset; // only used by lbn files
|
||||
u32 size; // only used by lbn files
|
||||
u64 curOffset;
|
||||
u64 startOffset; // only used by lbn files
|
||||
u64 size; // only used by lbn files
|
||||
|
||||
bool Open(std::string& basePath, std::string& fileName, FileAccess access) {
|
||||
if (handler.IsValid()) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -136,7 +136,7 @@ NewLanguageScreen::NewLanguageScreen() : ListPopupScreen("Language") {
|
|||
}
|
||||
}
|
||||
if (g_Config.languageIni == code)
|
||||
selected = i;
|
||||
selected = (int)i;
|
||||
listing.push_back(buttonTitle);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue