]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/mmedia/g72x.cpp
adjusting to SetLabel migration
[wxWidgets.git] / contrib / src / mmedia / g72x.cpp
index 2202cf8235c3282df201879e1f6cfc7848a5da65..97d3322c23bd3569065bc26f7d39ed641ceb615e 100644 (file)
@@ -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];