Remove a lot of warnings from MusicMod.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3509 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
death2droid committed 2009-06-20 11:31:26 +00:00
1 parent 8cf11ff58a
commit 09d5313410
8 files changed
+9 -19

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@
Name="VCCLCompilerTool"
Optimization="0"
AdditionalIncludeDirectories="..\..\..\Source\Core\Common\Src"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_SECURE_SCL=0"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="false"
BasicRuntimeChecks="0"
RuntimeLibrary="0"
+1 -1
View File
@@ -86,7 +86,7 @@ bool DspPlugin::Load()
{
// Note: The prefix is not removed to hide their
// origin at Nullsoft! It just reads easier.
if( !strnicmp( header->description, "nullsoft ", 9 ) )
if( !_strnicmp( header->description, "nullsoft ", 9 ) )
{
header->description += 9;
}
+2 -2
View File
@@ -97,7 +97,7 @@ bool GenPlugin::Load()
{
// Note: The prefix is not removed to hide their
// origin at Nullsoft! It just reads easier.
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
{
plugin->description += 9;
}
@@ -106,7 +106,7 @@ bool GenPlugin::Load()
char * walk = plugin->description + strlen( plugin->description ) - 5;
while( true )
{
if( ( walk <= plugin->description ) || strnicmp( walk, ".dll)", 5 ) ) break;
if( ( walk <= plugin->description ) || _strnicmp( walk, ".dll)", 5 ) ) break;
while( ( walk > plugin->description ) && ( *walk != '(' ) ) walk--;
if( walk <= plugin->description ) break;
walk--;
+2 -2
View File
@@ -121,10 +121,10 @@ bool InputPlugin::Load()
{
// Note: The prefix is not removed to hide their
// origin at Nullsoft! It just reads easier.
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
{
plugin->description += 9;
if( !strnicmp( plugin->description, "mpeg(layer1-3/ct aac+/dolby aac) ", 33 ) )
if( !_strnicmp( plugin->description, "mpeg(layer1-3/ct aac+/dolby aac) ", 33 ) )
{
plugin->description += ( 33 - 5 );
memcpy( plugin->description, "MPEG", 4 * sizeof( char ) );
+1 -1
View File
@@ -118,7 +118,7 @@ bool OutputPlugin::Load()
{
// Note: The prefix is not removed to hide their
// origin at Nullsoft! It just reads easier.
if( !strnicmp( plugin->description, "nullsoft ", 9 ) )
if( !_strnicmp( plugin->description, "nullsoft ", 9 ) )
{
plugin->description += 9;
}
+1 -1
View File
@@ -85,7 +85,7 @@ bool VisPlugin::Load()
{
// Note: The prefix is not removed to hide their
// origin at Nullsoft! It just reads easier.
if( !strnicmp( header->description, "nullsoft ", 9 ) )
if( !_strnicmp( header->description, "nullsoft ", 9 ) )
{
header->description += 9;
}