summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 18:10:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 18:10:38 +0000
commit8d660061375b8177ecce6c4e9803714d9fdd4b11 (patch)
treec01d0db9a648ca3caf8ce2b009704c9f8dc67eb0
parent7d3a6d52286641d9d3b61e57aae8f72e8c509a11 (diff)
Fix warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7092 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--win/colours.h4
-rw-r--r--win/inspircd_win32wrapper.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/win/colours.h b/win/colours.h
index 574d34640..cc984334f 100644
--- a/win/colours.h
+++ b/win/colours.h
@@ -40,12 +40,12 @@ int printf_c(const char * format, ...)
temp[t] = 0;
p++;
- if(!stricmp(temp, "[0"))
+ if(!_stricmp(temp, "[0"))
{
// Returning to normal colour.
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);
}
- else if(!stricmp(temp, "[1"))
+ else if(!_stricmp(temp, "[1"))
{
// White
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), TWHITE);
diff --git a/win/inspircd_win32wrapper.cpp b/win/inspircd_win32wrapper.cpp
index ef04b4fc8..ece823a4d 100644
--- a/win/inspircd_win32wrapper.cpp
+++ b/win/inspircd_win32wrapper.cpp
@@ -209,7 +209,7 @@ int printf_c(const char * format, ...)
temp[t] = 0;
p++;
- if (!stricmp(temp, "[0"))
+ if (!_stricmp(temp, "[0"))
{
// Returning to normal colour.
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE);