Commit 6894d10d authored by David Reid's avatar David Reid

Warning fixes.

parent 31086c5d
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#pragma warning(push) #pragma warning(push)
#pragma warning(disable:4244) /* conversion from 'x' to 'y', possible loss of data */ #pragma warning(disable:4244) /* conversion from 'x' to 'y', possible loss of data */
#pragma warning(disable:4018) /* signed/unsigned mismatch */ #pragma warning(disable:4018) /* signed/unsigned mismatch */
#pragma warning(disable:4706) /* assignment within conditional expression */
#else #else
#pragma GCC diagnostic push #pragma GCC diagnostic push
#endif #endif
......
...@@ -587,7 +587,7 @@ static ma_result ma_resampler_process__read(ma_resampler* pResampler, const void ...@@ -587,7 +587,7 @@ static ma_result ma_resampler_process__read(ma_resampler* pResampler, const void
#endif #endif
} }
default: return MA_INVALID_ARGS; /* Should never hit this. */ default: break;
} }
/* Should never get here. */ /* Should never get here. */
...@@ -723,7 +723,7 @@ ma_uint64 ma_resampler_get_required_input_frame_count(ma_resampler* pResampler, ...@@ -723,7 +723,7 @@ ma_uint64 ma_resampler_get_required_input_frame_count(ma_resampler* pResampler,
case ma_resample_algorithm_speex: case ma_resample_algorithm_speex:
{ {
#if defined(MA_HAS_SPEEX_RESAMPLER) #if defined(MA_HAS_SPEEX_RESAMPLER)
/* TODO: Implement me. */ return 0;
#else #else
break; break;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment