Files
heimdal/lib
Sergio Gelato 7c8b66d76b Use off_t in for constants used in iprop log seeks
On 32-bit architectures with _FILE_OFFSET_BITS=64,
 sizeof(off_t) > sizeof(size_t) .

LOG_HEADER_SZ was #define'd as an expression of type size_t, so in order
to get the sign extension right we need -(off_t)LOG_HEADER_SZ instead of
(off_t)(-LOG_HEADER_SZ).  However, we can just define the *_SZ macros to
cast to off_t, then we don't need to worry about negation.

Fixes Debian bug #822749, PR 175.

Signed-off-by (and updated by): Nicolas Williams <nico@twosigma.com>
2016-11-09 13:35:08 -06:00
..
2016-11-09 11:50:07 -05:00
2016-04-16 16:58:08 -05:00
2016-11-08 16:13:14 -06:00
2016-11-09 15:36:04 +00:00
2016-11-08 15:41:38 -06:00
2014-08-22 20:57:24 -07:00
2014-04-25 02:42:17 +02:00
2016-02-26 01:04:31 -06:00
2016-11-08 15:48:40 -05:00
2015-03-21 15:44:48 -04:00
2016-08-11 14:53:25 -05:00
2014-02-18 08:34:32 -08:00
2015-03-21 15:44:48 -04:00