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
2009-06-20 11:31:26 +00:00
parent 8cf11ff58a
commit 09d5313410
8 changed files with 9 additions and 19 deletions

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"

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;
}

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--;

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 ) );

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;
}

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;
}

View File

@ -102,7 +102,7 @@
/>
<Tool
Name="VCCLCompilerTool"
/>
PreprocessorDefinitions="_CRT_SECURE_NO_WARNINGS" />
<Tool
Name="VCManagedResourceCompilerTool"
/>