fixes for windows branch build failures under linux. still does not build on linux...
[ardour.git] / libs / evoral / src / libsmf / smf_load.c
index 25d95baecdc13523c6515be2c2dd09ef4fef4ce9..fed4d28bb7effa542f7369e8203a54a5be610047 100644 (file)
@@ -123,7 +123,7 @@ parse_mthd_header(smf_t *smf)
                return (-1);
        }
 
-       tmp_mthd = (chunk_header_struct*)smf->file_buffer;
+       tmp_mthd = (struct chunk_header_struct*)smf->file_buffer;
 
        if (!chunk_signature_matches(tmp_mthd, "MThd")) {
                g_critical("SMF error: MThd signature not found, is that a MIDI file?");