Files
heimdal/lib/kadm5
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
..
2008-09-13 09:21:03 +00:00
2008-09-13 08:53:55 +00:00
2008-09-13 09:21:03 +00:00
2008-10-14 02:55:55 +00:00
2009-12-23 14:31:28 +01:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2015-03-24 11:50:02 -05:00
2008-10-14 02:55:55 +00:00
2009-05-06 19:02:49 +00:00
2013-04-24 16:31:32 -07:00
2008-09-13 09:21:03 +00:00
2008-10-14 02:55:55 +00:00
2016-02-26 22:23:54 -06:00
2008-10-14 02:55:55 +00:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2008-09-13 09:21:03 +00:00
2016-02-29 19:13:12 -06:00
2008-09-13 09:21:03 +00:00