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. --- embed/mozilla/mozilla-embed.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'embed/mozilla') 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