mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 03:23:03 +01:00
Apply Partial patch for C++11 compilation of the Firebird code in libreoffice http://cgit.freedesktop.org/libreoffice/core/commit/?id=9fe159ef7cb7cfe5c1c91a6fbf1aa02fe79fec69
This commit is contained in:
parent
63c802f2ed
commit
f7846ceb57
@ -1326,7 +1326,7 @@ MemoryPool* MemoryPool::createPool(MemoryPool* parent, MemoryStats& stats)
|
||||
FreeMemoryBlock* freeBlock = blockToPtr<FreeMemoryBlock*>(blk);
|
||||
freeBlock->fbk_next_fragment = NULL;
|
||||
|
||||
BlockInfo temp = {blockLength, freeBlock};
|
||||
BlockInfo temp = {static_cast<size_t>(blockLength), freeBlock};
|
||||
pool->freeBlocks.add(temp);
|
||||
if (!pool->parent_redirect)
|
||||
{
|
||||
|
@ -144,7 +144,7 @@ class DummyException {};
|
||||
|
||||
#ifndef NATIVE_QUAD
|
||||
#ifndef WORDS_BIGENDIAN
|
||||
static const SQUAD quad_min_int = { 0, SLONG_MIN };
|
||||
static const SQUAD quad_min_int = { 0, static_cast<ULONG>(SLONG_MIN) };
|
||||
static const SQUAD quad_max_int = { -1, SLONG_MAX };
|
||||
#else
|
||||
static const SQUAD quad_min_int = { SLONG_MIN, 0 };
|
||||
|
Loading…
Reference in New Issue
Block a user