sw/source/filter/inc/fltshell.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 80ae88836db78c5649e7953e4c5b850d7bad9e4f
Author: David Ostrovsky <da...@ostrovsky.org>
Date:   Mon Dec 8 08:18:17 2014 +0100

    32/64 bit type mismatch
    
    Change-Id: I4ca19e6efed8ba1ef724136c577a3dcac80f7d62
    Reviewed-on: https://gerrit.libreoffice.org/13365
    Reviewed-by: Michael Stahl <mst...@redhat.com>
    Tested-by: Michael Stahl <mst...@redhat.com>

diff --git a/sw/source/filter/inc/fltshell.hxx 
b/sw/source/filter/inc/fltshell.hxx
index 3738c19..f1f35f8 100644
--- a/sw/source/filter/inc/fltshell.hxx
+++ b/sw/source/filter/inc/fltshell.hxx
@@ -47,10 +47,10 @@ inline void SwFltClearFlag(sal_uLong& rFieldFlags, int no)
     { rFieldFlags &= ~(1L << no); }
 
 inline void SwFltSetFlag(sal_uLong& rFieldFlags, int no)
-    { rFieldFlags |= 1L << no; }
+    { rFieldFlags |= sal_uLong(1) << no; }
 
 inline bool SwFltGetFlag(sal_uLong nFieldFlags, int no)
-    { return (nFieldFlags & (1L << no)) != 0; }
+    { return (nFieldFlags & (sal_uLong(1) << no)) != 0; }
 
 //Subvert the Node/Content system to get positions which don't update as
 //content is appended to them
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to