shithub: sox

Download patch

ref: 0ba30432c66fa84638cff161e5da5cb4a6f18576
parent: ca7934099cd76a88f18a4626eebd36b1f080d111
author: robs <robs>
date: Sat Nov 1 09:20:35 EDT 2008

quash warnings on 64-bit arch

--- a/src/formats.c
+++ b/src/formats.c
@@ -429,7 +429,7 @@
           filetype = magic_file(magic, path);
         if (filetype && (
               !strcmp(filetype, "application/octet-stream") ||
-              !strncmp(filetype, "text/plain", 10) ))
+              !strncmp(filetype, "text/plain", (size_t)10) ))
           filetype = NULL;
       }
 #endif