提交 3b47c3e8 authored 作者: Michael Jerris's avatar Michael Jerris

raise warning levels.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3069 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 78272524
...@@ -53,8 +53,9 @@ ...@@ -53,8 +53,9 @@
ObjectFile=".\Debug/" ObjectFile=".\Debug/"
ProgramDataBaseFileName=".\Debug/" ProgramDataBaseFileName=".\Debug/"
BrowseInformation="1" BrowseInformation="1"
WarningLevel="3" WarningLevel="4"
SuppressStartupBanner="true" SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
/> />
<Tool <Tool
...@@ -131,8 +132,9 @@ ...@@ -131,8 +132,9 @@
ObjectFile=".\Release/" ObjectFile=".\Release/"
ProgramDataBaseFileName=".\Release/" ProgramDataBaseFileName=".\Release/"
BrowseInformation="1" BrowseInformation="1"
WarningLevel="3" WarningLevel="4"
SuppressStartupBanner="true" SuppressStartupBanner="true"
Detect64BitPortabilityProblems="true"
/> />
<Tool <Tool
Name="VCManagedResourceCompilerTool" Name="VCManagedResourceCompilerTool"
......
...@@ -49,7 +49,7 @@ static switch_status_t switch_ilbc_init(switch_codec_t *codec, switch_codec_flag ...@@ -49,7 +49,7 @@ static switch_status_t switch_ilbc_init(switch_codec_t *codec, switch_codec_flag
{ {
struct ilbc_context *context; struct ilbc_context *context;
int encoding, decoding; int encoding, decoding;
uint8_t ms = codec->implementation->microseconds_per_frame / 1000; uint8_t ms = (uint8_t)(codec->implementation->microseconds_per_frame / 1000);
if (ms != 20 && ms != 30) { if (ms != 20 && ms != 30) {
......
...@@ -48,7 +48,8 @@ ...@@ -48,7 +48,8 @@
BasicRuntimeChecks="3" BasicRuntimeChecks="3"
RuntimeLibrary="3" RuntimeLibrary="3"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="4"
WarnAsError="true"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
/> />
...@@ -127,7 +128,8 @@ ...@@ -127,7 +128,8 @@
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS" PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MOD_EXPORTS"
RuntimeLibrary="2" RuntimeLibrary="2"
UsePrecompiledHeader="0" UsePrecompiledHeader="0"
WarningLevel="3" WarningLevel="4"
WarnAsError="true"
Detect64BitPortabilityProblems="true" Detect64BitPortabilityProblems="true"
DebugInformationFormat="3" DebugInformationFormat="3"
/> />
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论