]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
[progress] Fix constness problem
authorRay Strode <rstrode@redhat.com>
Thu, 6 Aug 2009 02:30:44 +0000 (22:30 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 6 Aug 2009 02:30:44 +0000 (22:30 -0400)
src/libply/ply-progress.c

index 767b696c5fc847d47530410827e31567a9dce39d..f8a84ab83cc7d1a00306a1d17188d29fcf288a6b 100644 (file)
@@ -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*/