diff --git a/ChangeLog b/ChangeLog index a2c7aa9b9..526fec5e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-26 Matthew Allum + + * tests/test-pixmap.c: (main): + Use strtol on arg as to take hex values. Tweak from James Ketrenos + 2008-06-25 Emmanuele Bassi * configure.ac: Post release bump to 0.7.5. diff --git a/tests/test-pixmap.c b/tests/test-pixmap.c index f547a1abc..d894f6aaf 100644 --- a/tests/test-pixmap.c +++ b/tests/test-pixmap.c @@ -156,7 +156,7 @@ main (int argc, char **argv) if (argc < 2) g_error ("usage: %s ", argv[0]); - win_remote = atol(argv[1]); + win_remote = strtol(argv[1], NULL, 0); stage = clutter_stage_get_default (); clutter_stage_set_color (CLUTTER_STAGE (stage), &gry);