diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 11:42:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-10 17:11:45 +0100 |
commit | d7fbf7379c5fbb0d8e43d78d4caa75df1e852535 (patch) | |
tree | 6b9a9a8e87b2cf7b8829c6f09a3cae5d56026cfb /extensions | |
parent | 300cf0a0bc4512530e135f997ab8a26dba70e600 (diff) |
Be explicit when using bool as integral value
Change-Id: I21e24bd39a0872df3077d45c257251c253957489
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 2 |
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: |