zephyr/include/misc
Nicolas Pitre 5f5c9a5962 INT_TO_POINTER macros: make 64-bit compatible
The INT_TO_POINTER and POINTER_TO_INT macros must accommodate larger
pointers on 64-bit systems that don't fit into an int.

In the INT_TO_POINTER case, we have to use an extra cast to intptr_t
as an intermediate widening type to avoid complaints from the compiler
when converting from an int.

This change makes no difference on 32-bit systems.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2019-06-12 08:20:52 -07:00
..
__assert.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
byteorder.h
dlist.h include: Make statements evaluate boolean expressions 2019-03-26 22:06:45 -04:00
errno_private.h
fdtable.h net: sockets: implement getsockname function 2019-05-17 22:49:32 +03:00
gcov.h tests: coverage: Add Gcov support. 2019-01-16 06:12:33 -05:00
libc-hooks.h libc: rename _zephyr_fputc to zephyr_fputc 2019-03-12 13:59:06 -05:00
list_gen.h include: Make statements evaluate boolean expressions 2019-03-26 22:06:45 -04:00
math_extras_impl.h misc: Implement math_extras.h function with GCC builtins. 2019-05-14 19:53:30 -05:00
math_extras.h misc: Portable math_extras.h implementations. 2019-05-14 19:53:30 -05:00
mempool_base.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
mempool.h sys_mem_pool: use sys_mutex 2019-04-03 13:47:45 -04:00
mutex.h lib: os: add sys_mutex data type 2019-04-03 13:47:45 -04:00
printk.h subsystems: Rename reserved function names 2019-04-03 17:31:00 -04:00
rb.h C++: Fix compilation error "invalid conversion" 2019-05-03 14:27:07 -04:00
reboot.h
ring_buffer.h
sflist.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
slist.h include: misc: list_gen: Fix possible undefined behavior 2018-12-07 09:06:34 -05:00
speculation.h doc: fix misspelling in docs and API comments 2019-03-27 15:59:09 -04:00
stack.h logging: use os as a domain for low level system debugging 2019-06-04 12:16:40 -07:00
util.h INT_TO_POINTER macros: make 64-bit compatible 2019-06-12 08:20:52 -07:00