From: Philip Balister <phi...@opensdr.com>

Here is a proposed fix for a compile warning on 32 bit machines. I am
interested in feedback on how I replace the shift with 2^(NBITS-1). I
don't see any reason to keep teh shift, since the compiler should do the
math at compile time. I am a little worried about the NBITS=32 case and how
is implicitedly converted to a float.

Philip Balister (1):
  audio_alsa_sink : Fix warning on 32 bit builds.

 gr-audio/lib/alsa/audio_alsa_sink.cc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

-- 
1.7.6.4


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to