Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] Bug in gui_stuff
Home

[Freeciv-Dev] Bug in gui_stuff

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Bug in gui_stuff
From: Jordi Negrevernis i Font <jorneg@xxxxxxxxxxx>
Date: Thu, 18 Mar 2004 20:53:14 +0100


There is a warning while compiling the gtk 1.2 client under Suse Linux 9.0.

   This patch resolves this isue.

--- gui_stuff_orig.c    2004-03-18 12:54:55.000000000 +0100
+++ gui_stuff.c 2004-03-17 18:50:25.000000000 +0100
@@ -168,7 +168,7 @@
   int i;
 
   for(i=0; i<n; i++) {
-    ret[i] = _(s[i]);
+    ret[i] = (char *)_(s[i]);
   }
   return ret;
 }

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Bug in gui_stuff, Jordi Negrevernis i Font <=