From 3cb7a1e560628b39d2f747275be8399c2cd162a9 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 12 Feb 2004 20:18:52 +0000 Subject: Use static_cast<>, don't cast directly. 2004-02-12 Christian Persch * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_security_change_cb): Use static_cast<>, don't cast directly. --- ChangeLog | 6 ++++++ embed/mozilla/mozilla-embed.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0f56757e1..cebbee513 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-02-12 Christian Persch + + * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_security_change_cb): + + Use static_cast<>, don't cast directly. + 2004-02-12 Christian Persch * lib/ephy-dialog.c: (set_sensitivity): 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(request); membed->priv->security_state = state; level = mozilla_embed_security_level (membed); -- cgit v1.2.3