diff options
author | notaz | 2014-12-06 22:52:05 +0200 |
---|---|---|
committer | notaz | 2014-12-06 22:52:05 +0200 |
commit | 1c2c2bfb00e4040a17f61e7aa2061d446ba44b76 (patch) | |
tree | fa64b57245d91dd6e02548c594f4e9db416e4fc6 | |
parent | 5be6eaeb510c62ded1d5a3bd29dc94f25bc1359e (diff) | |
download | pcsx_rearmed-1c2c2bfb00e4040a17f61e7aa2061d446ba44b76.tar.gz pcsx_rearmed-1c2c2bfb00e4040a17f61e7aa2061d446ba44b76.tar.bz2 pcsx_rearmed-1c2c2bfb00e4040a17f61e7aa2061d446ba44b76.zip |
misc: length is unsigned
-rw-r--r-- | libpcsxcore/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c index 905f142..a27f60f 100644 --- a/libpcsxcore/misc.c +++ b/libpcsxcore/misc.c @@ -123,7 +123,7 @@ int GetCdromFile(u8 *mdir, u8 *time, char *filename) { if (dir->length[0] == 0) { return -1; } - i += dir->length[0]; + i += (u8)dir->length[0]; if (dir->flags[0] & 0x2) { // it's a dir if (!strnicmp((char *)&dir->name[0], filename, dir->name_len[0])) { |