summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-11-12 21:07:13 +0000
committerPetr Mladek <pmladek@suse.cz>2012-11-21 12:21:21 +0100
commitf87d1103e40739afb65cf19ac2004aa2cb74316b (patch)
tree20e1858d8a3df98f3738c69ee0d5d3abd1a89745
parentWaE: duplicated variable name (diff)
downloadcore-f87d1103e40739afb65cf19ac2004aa2cb74316b.tar.gz
core-f87d1103e40739afb65cf19ac2004aa2cb74316b.zip
WaE: fix windows build of npshell.
(cherry picked from commit 655ef3e507d1bc41e67cd7529f827ac58fb9bab0) Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--extensions/source/nsplugin/source/npshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/nsplugin/source/npshell.cxx b/extensions/source/nsplugin/source/npshell.cxx
index 52e85b627d58..ae2cf9151e8f 100644
--- a/extensions/source/nsplugin/source/npshell.cxx
+++ b/extensions/source/nsplugin/source/npshell.cxx
@@ -99,7 +99,7 @@
***********************************************************************/
static NSP_Mute_Obj send_lock = NSP_New_Mute_Obj();
-static NSP_PIPE_FD write_fd = -1;
+static NSP_PIPE_FD write_fd = (NSP_PIPE_FD)-1;
long int NSP_WriteToPipe(NSP_PIPE_FD fp, void* buf, unsigned long int len)