13
0

fix color parsing on 32bit systems

This commit is contained in:
Robin Gareus 2014-12-22 04:48:32 +01:00
parent 113bc3b38e
commit 35537aac69

View File

@ -497,7 +497,7 @@ UIConfiguration::load_colors (XMLNode const & node)
if (name && color) { if (name && color) {
ArdourCanvas::Color c; ArdourCanvas::Color c;
c = strtol (color->value().c_str(), 0, 16); c = strtoul (color->value().c_str(), 0, 16);
colors.insert (make_pair (name->value(), c)); colors.insert (make_pair (name->value(), c));
} }
} }