aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/linear
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-08-14 17:31:39 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-06-23 07:46:40 +0200
commita1219bf5f756925870671497a890e0aa1f0c7354 (patch)
treeade21f5fa58a6d546e8a9745c123ec605c8a99cb /validation/linear
parentdc4117c69ef98d2e79de1fab18ea0ba9d1496344 (diff)
downloadsparse-dev-a1219bf5f756925870671497a890e0aa1f0c7354.tar.gz
cast: make [u]intptr_ctype alias of [s]size_t_ctype
When processing integers to/from pointers, we would like to have an integer type which has the same size as a pointer. Currently, it's always the case for [s]size_t but it's preferable to have a specific type which will always offer this guarantee, like [u]intptr_t. Fix this lazily by defining [u]intptr_ctype to [s]size_t_ctype. Note: this intptr_t is just internal to sparse and can be different from the type choosen by the libc/platform. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/linear')
0 files changed, 0 insertions, 0 deletions