[galeon] Fix for glibc 2.10.



commit c195d4ff88b121288be8ccd61804044008626132
Author: Fabio Bonelli <fabiob src gnome org>
Date:   Sat May 1 21:07:10 2010 +0200

    Fix for glibc 2.10.
    
    Patch 85_glibc_2.10.diff from Debian.
    Author: Mike Hommey <mh glandium org>

 mozilla/ProgressListener.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mozilla/ProgressListener.cpp b/mozilla/ProgressListener.cpp
index d2270ba..1832a10 100644
--- a/mozilla/ProgressListener.cpp
+++ b/mozilla/ProgressListener.cpp
@@ -587,12 +587,12 @@ NS_METHOD GProgressListener::LaunchHelperApp (void)
 	GulCString helperId(helperDesc);
 
 	// Format <usertime>:<helperapp id>
-	char *colon = strchr (helperId.get(), ':');
+	const char *colon = strchr (helperId.get(), ':');
 	g_return_val_if_fail (colon, NS_ERROR_FAILURE);
 
 	const char *helperappid = colon+1;
 
-	guint32 usertime = strtoul (helperId.get(), &colon, 0);
+	guint32 usertime = strtoul (helperId.get(), NULL, 0);
 	
 	GnomeVFSMimeApplication *helper = 
 #ifdef HAVE_NEW_GNOME_VFS_MIME_API



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]