1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
--- audacity-src-1.3.6/lib-src/portsmf/allegrord.cpp-orig 2009-01-07 12:52:34.939330000 -0600
+++ audacity-src-1.3.6/lib-src/portsmf/allegrord.cpp 2009-01-07 12:56:25.158766000 -0600
@@ -262,7 +262,7 @@ bool Alg_reader::parse()
parse_error(field, 0, "Dur specified twice");
} else {
// prepend 'U' to field, copy EOS too
- field.insert(0, 1, 'U');
+ field.insert((unsigned int)0, 1, 'U');
dur = parse_dur(field, time);
dur_flag = true;
}
@@ -271,7 +271,7 @@ bool Alg_reader::parse()
parse_error(field, 0, "Pitch specified twice");
} else {
// prepend 'P' to field
- field.insert(0, 1, 'P');
+ field.insert((unsigned int)0, 1, 'P');
new_pitch = parse_pitch(field);
new_pitch_flag = true;
}
|