freebsd-dev/lib/libspl
Brian Behlendorf 3df293404a Fix type mismatch on 32-bit systems
The umem_alloc_aligned() function should not assume that a 'void *'
type is 64-bit.  It will not be on 32-bit platforms.  Rather than
complicating the ASSERT to handle this it is simply removed.

Additionally, the '%lu' format specifier should not be assumed to
imply a 64-bit value.  Fix this by using the 'llu' format specifier
which will always be atleast 64-bit and explicitly casing the
variable to an u_longlong_t.  This issue is handled the same way
in many other parts of the code.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2015-05-11 12:15:41 -07:00
..
asm-generic cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
asm-i386 Add atomic_sub_* functions to libspl. 2012-10-17 08:56:37 -07:00
asm-x86_64 Add atomic_sub_* functions to libspl. 2012-10-17 08:56:37 -07:00
include Fix type mismatch on 32-bit systems 2015-05-11 12:15:41 -07:00
getexecname.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
gethrestime.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
gethrtime.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
getmntany.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
list.c Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am Generate libraries with correct DT_NEEDED entries 2013-10-10 16:56:51 -07:00
mkdirp.c Set errno for mkdirp() called with NULL path ptr 2014-04-09 13:32:22 -07:00
strlcat.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strlcpy.c Add linux libspl support 2010-08-31 13:41:59 -07:00
strnlen.c Add linux libspl support 2010-08-31 13:41:59 -07:00
timestamp.c Add linux libspl support 2010-08-31 13:41:59 -07:00
xdr.c Add linux libspl support 2010-08-31 13:41:59 -07:00
zone.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00