From 79f3b5c5ffef9ea8d67ebe0afa05f8f80acfabda Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 22 Jan 2017 17:27:37 +0100 Subject: Fix -Wshadow warning for file_entry This struct didn't follow our naming convention, so let's rename the struct itself instead of the variable that triggered the warning. --- Source/Core/DiscIO/WbfsBlob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/WbfsBlob.cpp') diff --git a/Source/Core/DiscIO/WbfsBlob.cpp b/Source/Core/DiscIO/WbfsBlob.cpp index 8c29d93202..0d249d72eb 100644 --- a/Source/Core/DiscIO/WbfsBlob.cpp +++ b/Source/Core/DiscIO/WbfsBlob.cpp @@ -146,7 +146,7 @@ File::IOFile& WbfsFileReader::SeekToCluster(u64 offset, u64* available) u64 cluster_offset = offset & (m_wbfs_sector_size - 1); u64 final_address = cluster_address + cluster_offset; - for (file_entry& file_entry : m_files) + for (FileEntry& file_entry : m_files) { if (final_address < (file_entry.base_address + file_entry.size)) { -- cgit v1.2.3