summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 11:42:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:45 +0100
commitd7fbf7379c5fbb0d8e43d78d4caa75df1e852535 (patch)
tree6b9a9a8e87b2cf7b8829c6f09a3cae5d56026cfb /extensions/source
parent300cf0a0bc4512530e135f997ab8a26dba70e600 (diff)
Be explicit when using bool as integral value
Change-Id: I21e24bd39a0872df3077d45c257251c253957489
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/plugin/unx/npnapi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx
index 09fea9224638..2a4f33a12dcf 100644
--- a/extensions/source/plugin/unx/npnapi.cxx
+++ b/extensions/source/plugin/unx/npnapi.cxx
@@ -406,7 +406,7 @@ static NPError l_NPN_GetValue( NPP, NPNVariable variable, void* value )
break;
case NPNVSupportsXEmbedBool:
// asking xembed
- *(int*)value = true;
+ *(int*)value = int(true);
SAL_INFO("extensions.plugin", "xembed requested");
break;
case NPNVToolkit: