shithub: sox

Download patch

ref: a26797de62057819c28732da90a48f18cb938e70
parent: 4c0f6313289d07347d3a876be7914172db00aa0b
author: robs <robs>
date: Sat Mar 22 04:05:45 EDT 2008

fix a warning

--- a/src/formats.c
+++ b/src/formats.c
@@ -297,7 +297,7 @@
    * to override something that can't be overridden. */
 
   if (ft->handler.flags & SOX_FILE_ENDIAN) {
-    if (ft->encoding.reverse_bytes ==
+    if (ft->encoding.reverse_bytes == (sox_option_t)
         (!(ft->handler.flags & SOX_FILE_ENDBIG) != MACHINE_IS_BIGENDIAN))
       sox_report("`%s': overriding file-type byte-order", ft->filename);
   } else if (ft->encoding.reverse_bytes == sox_true)