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:
Glenn Rice
2010-02-24 03:38:36 +00:00
parent 3cc5d8ce6f
commit 1d40b8a5ae
26 changed files with 74 additions and 67 deletions

View File

@ -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;

View File

@ -10,9 +10,11 @@
#include "../Common.h"
#include "tools.h"
// y**2 + x*y = x**3 + x + b
/*
static u8 ec_b[30] =
{0x00,0x66,0x64,0x7e,0xde,0x6c,0x33,0x2c,0x7f,0x8c,0x09,0x23,0xbb,0x58,0x21
,0x3b,0x33,0x3b,0x20,0xe9,0xce,0x42,0x81,0xfe,0x11,0x5f,0x7d,0x8f,0x90,0xad};
*/
// order of the addition group of points
static u8 ec_N[30] =