X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dea7e44a76e4e886f2bc60b0e82322a71b1f1f4f..a485900cf09c5654655e69af639e4f3f4bc4c486:/contrib/src/mmedia/g72x.cpp?ds=sidebyside diff --git a/contrib/src/mmedia/g72x.cpp b/contrib/src/mmedia/g72x.cpp index 2202cf8235..97d3322c23 100644 --- a/contrib/src/mmedia/g72x.cpp +++ b/contrib/src/mmedia/g72x.cpp @@ -464,8 +464,10 @@ update( } else if (sr > -32768) { mag = -sr; state_ptr->sr[0] = base2(mag) - 0x400; - } else - state_ptr->sr[0] = short (0xFC20); + } else { + const unsigned short c = 0xFC20; + state_ptr->sr[0] = short(c); + } /* DELAY A */ state_ptr->pk[1] = state_ptr->pk[0];