aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-13 04:18:52 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-13 04:18:52 +0800
commit3cb7a1e560628b39d2f747275be8399c2cd162a9 (patch)
tree44e7f2e77f8cd3e34d95a35647bd14b7334ce7f0 /embed
parent16a1ea3350f9bec3b68393e096ed064c52c907f6 (diff)
downloadgsoc2013-epiphany-3cb7a1e560628b39d2f747275be8399c2cd162a9.tar
gsoc2013-epiphany-3cb7a1e560628b39d2f747275be8399c2cd162a9.tar.gz
gsoc2013-epiphany-3cb7a1e560628b39d2f747275be8399c2cd162a9.tar.bz2
gsoc2013-epiphany-3cb7a1e560628b39d2f747275be8399c2cd162a9.tar.lz
gsoc2013-epiphany-3cb7a1e560628b39d2f747275be8399c2cd162a9.tar.xz
gsoc2013-epiphany-3cb7a1e560628b39d2f747275be8399c2cd162a9.tar.zst
gsoc2013-epiphany-3cb7a1e560628b39d2f747275be8399c2cd162a9.zip
Use static_cast<>, don't cast directly.
2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_security_change_cb): Use static_cast<>, don't cast directly.
Diffstat (limited to 'embed')
-rw-r--r--embed/mozilla/mozilla-embed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/mozilla-embed.cpp b/embed/mozilla/mozilla-embed.cpp
index c0432b1f9..accd424a9 100644
--- a/embed/mozilla/mozilla-embed.cpp
+++ b/embed/mozilla/mozilla-embed.cpp
@@ -1028,7 +1028,7 @@ mozilla_embed_security_change_cb (GtkMozEmbed *embed,
{
EmbedSecurityLevel level;
- membed->priv->request = (nsIRequest *) request;
+ membed->priv->request = static_cast<nsIRequest*>(request);
membed->priv->security_state = state;
level = mozilla_embed_security_level (membed);