diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-11-12 21:07:13 +0000 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-11-21 12:21:21 +0100 |
commit | f87d1103e40739afb65cf19ac2004aa2cb74316b (patch) | |
tree | 20e1858d8a3df98f3738c69ee0d5d3abd1a89745 | |
parent | WaE: duplicated variable name (diff) | |
download | core-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.cxx | 2 |
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) |