From 4acdd54a49785d171f03876ddfebfe40e2d836e8 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 5 Aug 2009 22:30:44 -0400 Subject: [PATCH] [progress] Fix constness problem --- src/libply/ply-progress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libply/ply-progress.c b/src/libply/ply-progress.c index 767b696c..f8a84ab8 100644 --- a/src/libply/ply-progress.c +++ b/src/libply/ply-progress.c @@ -302,7 +302,7 @@ main (int argc, int slowness; double time; int i; - char* strings[10]={"foobar", "barfoo", "barbar", "foo", "foo", "bar", "foo", "more", "even more", "even even more"}; + const char* strings[10]={"foobar", "barfoo", "barbar", "foo", "foo", "bar", "foo", "more", "even more", "even even more"}; ply_progress_t* progress = ply_progress_new (); progress->scalar = 1.0/5; /* Original time estimate is 5 sec*/