From fe99b2d50aeb130a26f8acb58ca028d720fcb0df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= <branimirkaradzic@gmail.com>
Date: Mon, 9 Mar 2015 20:46:13 -0700
Subject: [PATCH] Fixed compile warning.

---
 3rdparty/ib-compress/writebitstream.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/3rdparty/ib-compress/writebitstream.h b/3rdparty/ib-compress/writebitstream.h
index cc9e9bff..ccba9b5c 100644
--- a/3rdparty/ib-compress/writebitstream.h
+++ b/3rdparty/ib-compress/writebitstream.h
@@ -34,14 +34,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #define WBS_INLINE __forceinline
 #else
 #define WBS_INLINE inline
-#endif 
+#endif
 
-// Very simple bitstream for writing that will grow to accomodate written bits. 
+// Very simple bitstream for writing that will grow to accomodate written bits.
 class WriteBitstream
 {
 public:
 
-    // Construct the bit stream with an initial buffer capacity - should be a multiple of 8 and > 0 
+    // Construct the bit stream with an initial buffer capacity - should be a multiple of 8 and > 0
     WriteBitstream( size_t initialBufferCapacity = 16 )
     {
         m_bufferCursor =
@@ -66,7 +66,7 @@ public:
     // Write a V int to the stream.
     void WriteVInt( uint32_t value );
 
-    // Get the size in bytes 
+    // Get the size in bytes
     size_t ByteSize() const { return ( m_size + 7 ) >> 3; }
 
     // Finish writing by flushing the buffer.
@@ -80,7 +80,7 @@ private:
     // If we need to grow the buffer.
     void GrowBuffer();
 
-    // Not copyable 
+    // Not copyable
     WriteBitstream( const WriteBitstream& );
 
     // Not assignable
@@ -96,7 +96,7 @@ private:
 
 WBS_INLINE void WriteBitstream::Write( uint32_t value, uint32_t bitCount )
 {
-    m_bitBuffer |= ( static_cast<uint64_t>( value ) << ( 64 - m_bitsLeft ) ) & ( m_bitsLeft == 0 ? 0 : 0xFFFFFFFFFFFFFFFF );
+    m_bitBuffer |= ( static_cast<uint64_t>( value ) << ( 64 - m_bitsLeft ) ) & ( m_bitsLeft == 0 ? 0 : UINT64_C(0xFFFFFFFFFFFFFFFF) );
 
     if ( bitCount > m_bitsLeft )
     {
@@ -175,4 +175,4 @@ WBS_INLINE void WriteBitstream::GrowBuffer()
     m_bufferEnd    = m_buffer + newBufferSize;
 }
 
-#endif // -- WRITE_BIT_STREAM_H__
\ No newline at end of file
+#endif // -- WRITE_BIT_STREAM_H__