From 7dc99c559402d6f3a638a8b856e47f105fdbe664 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 10 Aug 2006 18:21:01 +0000 Subject: Fix crash on PPC due to differing pointer types. 2006-08-10 Christian Persch * plugins/desktop-file/plugin.cpp: Fix crash on PPC due to differing pointer types. --- ChangeLog | 6 ++++++ plugins/desktop-file/plugin.cpp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a4577d2c9..e736789e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-08-10 Christian Persch + + * plugins/desktop-file/plugin.cpp: + + Fix crash on PPC due to differing pointer types. + 2006-08-10 Christian Persch * data/default-prefs-common.js: diff --git a/plugins/desktop-file/plugin.cpp b/plugins/desktop-file/plugin.cpp index 29f4868bb..4f578239b 100644 --- a/plugins/desktop-file/plugin.cpp +++ b/plugins/desktop-file/plugin.cpp @@ -447,7 +447,7 @@ plugin_get_value (NPP instance, break; case NPPVpluginNeedsXEmbed: - *((PRBool *) value) = PR_FALSE; + *((NPBool *) value) = PR_FALSE; break; default: -- cgit v1.2.3