1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00
audacity/lib-src/portsmf/unsigned-const-casts.patch
2010-01-24 09:19:39 +00:00

22 lines
1.0 KiB
Diff

--- 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;
}