mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Merge pull request #514 from rohit-n/fix-warnings
Silence a few warnings.
This commit is contained in:
		
						commit
						c915d0b727
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		|  | @ -212,7 +212,7 @@ public: | |||
|         return GetPtr(segments[segment].p_offset); | ||||
|     } | ||||
|     u32 GetSectionAddr(SectionID section) const { return sectionAddrs[section]; } | ||||
|     int GetSectionSize(SectionID section) const { return sections[section].sh_size; } | ||||
|     unsigned int GetSectionSize(SectionID section) const { return sections[section].sh_size; } | ||||
|     SectionID GetSectionByName(const char *name, int firstSection = 0) const; //-1 for not found
 | ||||
| 
 | ||||
|     bool DidRelocate() const { | ||||
|  | @ -298,7 +298,7 @@ bool ElfReader::LoadSymbols() { | |||
| 
 | ||||
|         //We have a symbol table!
 | ||||
|         Elf32_Sym* symtab = (Elf32_Sym *)(GetSectionDataPtr(sec)); | ||||
|         int numSymbols = sections[sec].sh_size / sizeof(Elf32_Sym); | ||||
|         unsigned int numSymbols = sections[sec].sh_size / sizeof(Elf32_Sym); | ||||
|         for (unsigned sym = 0; sym < numSymbols; sym++) { | ||||
|             int size = symtab[sym].st_size; | ||||
|             if (size == 0) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue