mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
turn on higher warning level in msvc for the core and libteletone and resolve warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@634 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -53,7 +53,7 @@ SWITCH_DECLARE(switch_status) switch_resample_create(switch_audio_resampler **ne
|
||||
{
|
||||
switch_audio_resampler *resampler;
|
||||
|
||||
if (!(resampler = switch_core_alloc(pool, sizeof(*resampler)))) {
|
||||
if ((resampler = switch_core_alloc(pool, sizeof(*resampler))) == 0) {
|
||||
return SWITCH_STATUS_MEMERR;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user