From 8b939f166c68ea2f8b5112a00d4d9d03b8be99f6 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 27 Aug 2016 02:50:01 -0700 Subject: small fixes for mid2agb --- tools/mid2agb/main.cpp | 4 ++-- tools/mid2agb/midi.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') 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, -- cgit v1.2.3