summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-11-12 21:07:13 +0000
committerStephan Bergmann <sbergman@redhat.com>2012-11-14 15:59:41 +0100
commite52ceb667a4c087c624109ac10f7a7e2f0a66de3 (patch)
treea9715d4f36753ad59b0762e47a116aa2172e4e1f
parentfdo#56776: Change in formula options should cause repaint. (diff)
downloadcore-e52ceb667a4c087c624109ac10f7a7e2f0a66de3.tar.gz
core-e52ceb667a4c087c624109ac10f7a7e2f0a66de3.zip
WaE: fix windows build of npshell.
(cherry picked from commit 655ef3e507d1bc41e67cd7529f827ac58fb9bab0) Signed-off-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 95637e2d53def009320786245eb1ab7f586d98ff) 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)