summaryrefslogtreecommitdiff
path: root/flower
diff options
context:
space:
mode:
authorGraham Percival <graham@percival-music.ca>2011-12-15 06:34:46 -0800
committerGraham Percival <graham@percival-music.ca>2012-01-09 06:08:40 +0000
commitdf3c00e1afb413ce60b37b0ad9e35ab9637a4b62 (patch)
tree0ff0a1f386b1723328a2bc3a86bd8a7e5038c3b3 /flower
parent6e2e1d6a13aba88a3a8eecc0d46f96ad245c152a (diff)
Avoid implicit sign change by doing it explicitly
Diffstat (limited to 'flower')
-rw-r--r--flower/interval-set.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/flower/interval-set.cc b/flower/interval-set.cc
index 193be7f7f1..dd69c5886a 100644
--- a/flower/interval-set.cc
+++ b/flower/interval-set.cc
@@ -60,13 +60,13 @@ Interval_set::remove_interval (Interval rm)
if (!before.is_empty () && before.length () > 0.0)
{
- allowed_regions_.insert (allowed_regions_.begin () + i, before);
+ allowed_regions_.insert (allowed_regions_.begin () + (long)i, before);
i++;
}
- allowed_regions_.erase (allowed_regions_.begin () + i);
+ allowed_regions_.erase (allowed_regions_.begin () + (long)i);
if (!after.is_empty () && after.length () > 0.0)
{
- allowed_regions_.insert (allowed_regions_.begin () + i, after);
+ allowed_regions_.insert (allowed_regions_.begin () + (long)i, after);
i++;
}
}