aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyUtils.cpp
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@gnome.org>2007-08-15 15:46:04 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2007-08-15 15:46:04 +0800
commitec96881f6e30e029c308eefe982a30da6fdca779 (patch)
tree6c540eadd212739a51ccc773a983d393d95b94c7 /embed/mozilla/EphyUtils.cpp
parentcb1f9910f188e2db04be62a2c41fbe95255348c3 (diff)
downloadgsoc2013-epiphany-ec96881f6e30e029c308eefe982a30da6fdca779.tar
gsoc2013-epiphany-ec96881f6e30e029c308eefe982a30da6fdca779.tar.gz
gsoc2013-epiphany-ec96881f6e30e029c308eefe982a30da6fdca779.tar.bz2
gsoc2013-epiphany-ec96881f6e30e029c308eefe982a30da6fdca779.tar.lz
gsoc2013-epiphany-ec96881f6e30e029c308eefe982a30da6fdca779.tar.xz
gsoc2013-epiphany-ec96881f6e30e029c308eefe982a30da6fdca779.tar.zst
gsoc2013-epiphany-ec96881f6e30e029c308eefe982a30da6fdca779.zip
Fix strict-aliasing warnings, patch by Cosimo Cecchi. Happy 10 years
2007-08-15 Diego Escalante Urrelo <diegoe@gnome.org> * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: Fix strict-aliasing warnings, patch by Cosimo Cecchi. Happy 10 years GNOME!. Fixes bug #433173. svn path=/trunk/; revision=7274
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;