- Disabled useless "deprecated" warnings when using stdc functions
- Added Tremulous support - Fixed wildpointer bug in texwindow.cpp - Updated credits - Updated installerfiles - Fixed some warnings git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@150 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -251,7 +251,7 @@ inline char* string_to_lowercase(char* string)
|
||||
{
|
||||
for(char* p = string; *p != '\0'; ++p)
|
||||
{
|
||||
*p = std::tolower(*p);
|
||||
*p = (char)std::tolower(*p);
|
||||
}
|
||||
return string;
|
||||
}
|
||||
@@ -262,7 +262,7 @@ inline char* string_to_uppercase(char* string)
|
||||
{
|
||||
for(char* p = string; *p != '\0'; ++p)
|
||||
{
|
||||
*p = std::toupper(*p);
|
||||
*p = (char)std::toupper(*p);
|
||||
}
|
||||
return string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user