Compiling sci-visualization/spectromatic-1.0-r2 on 64-bit machine I get wrong code of reading RIFF/WAVE file header to struct 'waveheaderstruct'. See proposed patch. Reproducible: Always
Created attachment 319716 [details, diff] waveheaderstruct-amd64.patch
it compiles but I get following warning: wave.c: In function ‘print_header’: wave.c:70:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint32_t’ [-Wformat] wave.c:71:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint32_t’ [-Wformat] wave.c:74:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint32_t’ [-Wformat] wave.c:75:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint32_t’ [-Wformat] wave.c:77:2: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint32_t’ [-Wformat]
fixed in cvs, with added fixes for the harmless warnings. thanks for the patch.