summaryrefslogtreecommitdiffstats
path: root/pokemod/Debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pokemod/Debug.cpp')
-rw-r--r--pokemod/Debug.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemod/Debug.cpp b/pokemod/Debug.cpp
index 87a9b7e0..389c3138 100644
--- a/pokemod/Debug.cpp
+++ b/pokemod/Debug.cpp
@@ -31,7 +31,7 @@ extern debugWindow PokeModDebugWindow;
int PokeModDebugLevel;
-void PokeGen::PokeMod::Log(const char *msg, int level)
+void PokeGen::PokeMod::Log(const char *msg, const int level)
{
// Actual strings of the debugging levels
const char *PokeModDebugStr[8] = {"Emergency", "Alert", "Critical Error", "Error", "Warning", "Notice", "Info", "Debug"};
@@ -81,7 +81,7 @@ void PokeGen::PokeMod::Log(const char *msg, int level)
#else
// Empty function if debugging isn't wanted
-void PokeGen::PokeMod::Log(const String &msg, int level)
+void PokeGen::PokeMod::Log(const String &msg, const int level)
{
return;
}