gnupg/tests/gpgscm
NIIBE Yutaka 68eb5fbd37 tests/gpgscm: Fix use of pointer.
* tests/gpgscm/scheme-private.h (struct scheme): Use (void *) for
alloc_seg.
* tests/gpgscm/scheme.c (alloc_cellseg): Use (void *) for cp.  Use
(void *) for coercion of address calculation.

--

In old C language, (char *) means an address.  In modern C, it's
specifically an address with alignment=1.  It's good to use (void *) for
an address, because newer compiler emits warnings.  Note: in this
particular case, it is just a warning and the code is safe against
invalid alignment, though.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2016-09-15 09:17:59 +09:00
..
LICENSE.TinySCHEME Add license notices for TinySCHEME. 2016-06-17 18:53:45 +02:00
Makefile.am gpgscm: Fix linking. 2016-07-15 12:35:15 +02:00
Manual.txt gpgscm: Fix manual. 2016-06-23 14:18:06 +02:00
ffi-private.h gpgscm: Make the name of foreign functions more unique. 2016-08-10 11:50:12 +02:00
ffi.c tests: Improve temporary directory handling. 2016-08-10 11:59:42 +02:00
ffi.h tests/gpgscm: Add a TinySCHEME-based test driver. 2016-06-17 11:57:12 +02:00
ffi.scm gpgscm: Use native string searching functions. 2016-06-21 16:18:32 +02:00
init.scm gpgscm: Do not shadow common function name in catch macro. 2016-07-26 18:37:10 +02:00
lib.scm gpgscm: Make assert macro more accurate. 2016-07-21 18:05:58 +02:00
main.c gpgscm: Fix detection of unbalanced parenthesis. 2016-09-06 16:46:31 +02:00
opdefines.h tests/gpgscm: Verbatim import of latest TinySCHEME. 2016-06-17 11:36:27 +02:00
private.h tests/gpgscm: Add a TinySCHEME-based test driver. 2016-06-17 11:57:12 +02:00
repl.scm tests/gpgscm: Add a TinySCHEME-based test driver. 2016-06-17 11:57:12 +02:00
scheme-config.h tests/gpgscm: Add a TinySCHEME-based test driver. 2016-06-17 11:57:12 +02:00
scheme-private.h tests/gpgscm: Fix use of pointer. 2016-09-15 09:17:59 +09:00
scheme.c tests/gpgscm: Fix use of pointer. 2016-09-15 09:17:59 +09:00
scheme.h tests/gpgscm: Foreign objects support for TinySCHEME. 2016-06-17 11:38:00 +02:00
t-child.c tests/gpgscm: Add a TinySCHEME-based test driver. 2016-06-17 11:57:12 +02:00
t-child.scm tests/gpgscm: Add a TinySCHEME-based test driver. 2016-06-17 11:57:12 +02:00
tests.scm tests: Improve temporary directory handling. 2016-08-10 11:59:42 +02:00