From f5509cb0ec1bdde0ad8b562deedd9d8dbc77342d Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Thu, 26 Jun 2008 09:35:31 +0000 Subject: [PATCH] 2008-06-26 Matthew Allum * tests/test-pixmap.c: (main): Use strtol on arg as to take hex values. Tweak from James Ketrenos --- ChangeLog | 5 +++++ tests/test-pixmap.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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);