diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-10-23 22:25:15 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-10-23 22:25:15 +0300 |
commit | 5e566534205655c89d6c9256e4419c7502339a49 (patch) | |
tree | 51861634556de481478cdcaf94c1b649105df6b0 /utils/gen_adldata/gen_adldata.cc | |
parent | a8dde37099558dc805dfa07eb870c2baf66f4fec (diff) | |
parent | 9de1ad18d5305f21cb6998bdd88144893d0e121d (diff) | |
download | libADLMIDI-5e566534205655c89d6c9256e4419c7502339a49.tar.gz libADLMIDI-5e566534205655c89d6c9256e4419c7502339a49.tar.bz2 libADLMIDI-5e566534205655c89d6c9256e4419c7502339a49.zip |
Merge branch 'master' of github.com:Wohlstand/libADLMIDI
Diffstat (limited to 'utils/gen_adldata/gen_adldata.cc')
-rw-r--r-- | utils/gen_adldata/gen_adldata.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/gen_adldata/gen_adldata.cc b/utils/gen_adldata/gen_adldata.cc index 6c77a12..88981c2 100644 --- a/utils/gen_adldata/gen_adldata.cc +++ b/utils/gen_adldata/gen_adldata.cc @@ -4,6 +4,7 @@ #include <cstdio> #include <string> #include <cstring> +#include <inttypes.h> #include "ini/ini_processing.h" @@ -390,7 +391,7 @@ int main(int argc, char**argv) unsigned flags = (i->first.pseudo4op ? 1 : 0) | (info.nosound ? 2 : 0); fprintf(outFile, " {"); - fprintf(outFile, "%4d,%4d,%3d, %d, %6ld,%6ld,%lf", + fprintf(outFile, "%4d,%4d,%3d, %d, %6" PRId64 ",%6" PRId64 ",%lf", (unsigned) i->first.insno1, (unsigned) i->first.insno2, (int)(i->first.notenum), |