mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
Systematically eliminating compiler warnings.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5117 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3cc5d8ce6f
commit
1d40b8a5ae
26 changed files with 74 additions and 67 deletions
|
@ -373,7 +373,7 @@ std::vector<std::string> cdio_get_devices() {
|
|||
bool cdio_is_cdrom(std::string device) {
|
||||
std::vector<std::string> devices = cdio_get_devices();
|
||||
bool res = false;
|
||||
for (int i = 0; i < devices.size(); i++) {
|
||||
for (unsigned int i = 0; i < devices.size(); i++) {
|
||||
if (strncmp(devices[i].c_str(), device.c_str(), PATH_MAX) == 0) {
|
||||
res = true;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue