From b33e69b8de05673c8228eef070ec22363b08272f Mon Sep 17 00:00:00 2001 From: magumagu9 Date: Sun, 28 Jun 2009 20:07:38 +0000 Subject: [PATCH] Small warning fix. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3581 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/ConsoleListener.cpp | 2 +- Source/Core/Common/Src/LogManager.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Common/Src/ConsoleListener.cpp b/Source/Core/Common/Src/ConsoleListener.cpp index b42556e395..c3f9b4fbb5 100644 --- a/Source/Core/Common/Src/ConsoleListener.cpp +++ b/Source/Core/Common/Src/ConsoleListener.cpp @@ -43,7 +43,7 @@ ConsoleListener::~ConsoleListener() // 100, 100, "Dolphin Log Console" // Open console window - width and height is the size of console window // Name is the window title -void ConsoleListener::Open(int width, int height, char *title) +void ConsoleListener::Open(int width, int height, const char *title) { #ifdef _WIN32 // Open the console window and create the window handle for GetStdHandle() diff --git a/Source/Core/Common/Src/LogManager.h b/Source/Core/Common/Src/LogManager.h index c51a846911..3669858d39 100644 --- a/Source/Core/Common/Src/LogManager.h +++ b/Source/Core/Common/Src/LogManager.h @@ -74,7 +74,7 @@ public: ~ConsoleListener(); void Open(int Width = 100, int Height = 100, - char * Name = "Console"); + const char * Name = "Console"); void Close(); bool IsOpen(); void Log(LogTypes::LOG_LEVELS, const char *text);