summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/mid2agb/main.cpp4
-rw-r--r--tools/mid2agb/midi.cpp2
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,