diff options
author | YamaArashi <shadow962@live.com> | 2016-08-27 02:50:01 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-08-27 02:50:01 -0700 |
commit | 8b939f166c68ea2f8b5112a00d4d9d03b8be99f6 (patch) | |
tree | f0812da6410616d87e7ed28525e76829822e78c1 | |
parent | a99534f82c83fbe6f4a2027b2a3d8cd63cb49054 (diff) |
small fixes for mid2agb
-rw-r--r-- | tools/mid2agb/main.cpp | 4 | ||||
-rw-r--r-- | tools/mid2agb/midi.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/mid2agb/main.cpp b/tools/mid2agb/main.cpp index c26a7bdf5..9b883fba5 100644 --- a/tools/mid2agb/main.cpp +++ b/tools/mid2agb/main.cpp @@ -63,7 +63,7 @@ bool g_compressionEnabled = true; static std::string StripExtension(std::string s) { - size_t pos = s.find_last_of('.'); + std::size_t pos = s.find_last_of('.'); if (pos > 0 && pos != std::string::npos) { @@ -75,7 +75,7 @@ static std::string StripExtension(std::string s) static std::string GetExtension(std::string s) { - size_t pos = s.find_last_of('.'); + std::size_t pos = s.find_last_of('.'); if (pos > 0 && pos != std::string::npos) { diff --git a/tools/mid2agb/midi.cpp b/tools/mid2agb/midi.cpp index 825c923c2..fd85a2c55 100644 --- a/tools/mid2agb/midi.cpp +++ b/tools/mid2agb/midi.cpp @@ -30,7 +30,7 @@ #include "agb.h" #include "tables.h" -enum MidiEventCategory +enum class MidiEventCategory { Control, SysEx, |