chuck (1.2.0.8.dfsg-1.4) src/ugen_xxx.cpp

Summary

 src/ugen_xxx.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

--- chuck-1.2.0.8.dfsg.orig/src/ugen_xxx.cpp
+++ chuck-1.2.0.8.dfsg/src/ugen_xxx.cpp
@@ -2577,7 +2577,7 @@
         // open it
         SF_INFO info;
         info.format = 0;
-        char * format = strrchr( filename, '.');
+        const char * format = strrchr( filename, '.');
         if( format && strcmp( format, ".raw" ) == 0 )
         { 
             fprintf( stderr, "[chuck](via SndBuf) %s :: type is '.raw'...\n    assuming 16 bit signed mono (PCM)\n", filename );