Fixing build bustage on GCC 3.3. Bug 350425, r=luser
authorbzbarsky@mit.edu
Thu, 30 Aug 2007 22:07:26 -0700
changeset 5497 ded627e16139d69580c0d6d0c1f3bb27c58c71da
parent 5496 accc7ff90f57df9686e24d0ce0a0a585543e5c8a
child 5498 b830a728776e31fee7e98bb5ba5b7062c2ab5c60
push idunknown
push userunknown
push dateunknown
reviewersluser
bugs350425
milestone1.9a8pre
Fixing build bustage on GCC 3.3. Bug 350425, r=luser
toolkit/crashreporter/client/crashreporter_linux.cpp
--- a/toolkit/crashreporter/client/crashreporter_linux.cpp
+++ b/toolkit/crashreporter/client/crashreporter_linux.cpp
@@ -293,19 +293,19 @@ static void TryInitGnome()
   if (!gnomeLib)
     return;
 
   gnomeuiLib = dlopen("libgnomeui-2.so.0", RTLD_LAZY);
   if (!gnomeuiLib)
     return;
  
   _gnome_program_init_fn gnome_program_init =
-    reinterpret_cast<_gnome_program_init_fn>(dlsym(gnomeLib, "gnome_program_init"));
+    (_gnome_program_init_fn)(dlsym(gnomeLib, "gnome_program_init"));
   _libgnomeui_module_info_get_fn libgnomeui_module_info_get =
-    reinterpret_cast<_libgnomeui_module_info_get_fn>(dlsym(gnomeuiLib, "libgnomeui_module_info_get"));
+    (_libgnomeui_module_info_get_fn)(dlsym(gnomeuiLib, "libgnomeui_module_info_get"));
 
   if (gnome_program_init && libgnomeui_module_info_get) {
     gnome_program_init("crashreporter", "1.0", libgnomeui_module_info_get(),
                        gArgc, gArgv, NULL);
   }
 
 }