fix color parsing on 32bit systems
This commit is contained in:
parent
113bc3b38e
commit
35537aac69
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user