On 07/21/14 13:43, Roman Simakov wrote:
> 2014-07-21 12:10 GMT+04:00  <[email protected]>:
>> +#define FB_ALIGN(n, b) ((n + size_t(b - 1)) & ~size_t(b - 1))
> Maybe the first argument also to cast to some expected data type?
>

May be. Here I've just fixed a build, but I see no reason for FB_ALIGN 
to always remain a macro - template function seems to fit here fine.


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to