tags 364596 + patch
thanks

--- ./backend/apt-watch-slave.cc~       2006-08-24 11:42:36.000000000 +0100
+++ ./backend/apt-watch-slave.cc        2006-08-24 11:42:48.000000000 +0100
@@ -521,7 +521,7 @@
     {
     case 0:
       {
-       char *authhelper=LIBEXECDIR "/apt-watch-auth-helper";
+       char authhelper[]=LIBEXECDIR "/apt-watch-auth-helper";
 
        close(cmdfd);
        close(outfd);
--- ./ui-gnome/apt-watch-gnome.cc~      2006-08-24 11:43:11.000000000 +0100
+++ ./ui-gnome/apt-watch-gnome.cc       2006-08-25 20:07:01.000000000 +0100
@@ -1043,7 +1043,7 @@
 
 static bool start_slave(PanelApplet *applet)
 {
-  char *argv[]={LIBEXECDIR "/apt-watch-slave", NULL};
+  char *argv[]={const_cast<char *>(LIBEXECDIR "/apt-watch-slave"), NULL};
 
   // Clear out any messages lingering from a previous slave.
   progress_message="";

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to