diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-08-14 17:31:39 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-06-23 07:46:40 +0200 |
| commit | a1219bf5f756925870671497a890e0aa1f0c7354 (patch) | |
| tree | ade21f5fa58a6d546e8a9745c123ec605c8a99cb /Documentation | |
| parent | dc4117c69ef98d2e79de1fab18ea0ba9d1496344 (diff) | |
| download | sparse-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 'Documentation')
0 files changed, 0 insertions, 0 deletions
