aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyUtils.cpp')
-rw-r--r--embed/mozilla/EphyUtils.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/mozilla/EphyUtils.cpp b/embed/mozilla/EphyUtils.cpp
index 3f1b23687..885a49f08 100644
--- a/embed/mozilla/EphyUtils.cpp
+++ b/embed/mozilla/EphyUtils.cpp
@@ -128,7 +128,8 @@ EphyUtils::FindEmbed (nsIDOMWindow *aDOMWindow)
nsresult rv;
GtkWidget *mozembed;
- rv = window->GetSiteWindow ((void **)&mozembed);
+ GtkWidget **cache_ptr = &mozembed;
+ rv = window->GetSiteWindow ((void **) cache_ptr);
NS_ENSURE_SUCCESS (rv, nsnull);
return mozembed;