fix color parsing on 32bit systems
authorRobin Gareus <robin@gareus.org>
Mon, 22 Dec 2014 03:48:32 +0000 (04:48 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 22 Dec 2014 03:48:32 +0000 (04:48 +0100)
gtk2_ardour/ui_config.cc

index 8021d3dc9e743c7d44ff582d9d7acdbbeae5ed9c..c40ab8a887c9e116605dd048d2ddc1eb07d4d71b 100644 (file)
@@ -497,7 +497,7 @@ UIConfiguration::load_colors (XMLNode const & node)
 
                if (name && color) {
                        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));
                }
        }