[Libreoffice-commits] .: Branch 'libreoffice-3-6' - extensions/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Nov 14 06:58:24 PST 2012


 extensions/source/nsplugin/source/npshell.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 95637e2d53def009320786245eb1ab7f586d98ff
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Mon Nov 12 21:07:13 2012 +0000

    WaE: fix windows build of npshell.
    (cherry picked from commit 655ef3e507d1bc41e67cd7529f827ac58fb9bab0)
    
    Signed-off-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/extensions/source/nsplugin/source/npshell.cxx b/extensions/source/nsplugin/source/npshell.cxx
index 52e85b6..ae2cf91 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)


More information about the Libreoffice-commits mailing list