diff options
| author | Keith Packard <keithp@keithp.com> | 2017-01-10 14:47:03 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-02-20 11:16:52 -0800 | 
| commit | 9c85c9d60334edc2af65a47124873e94e0ff1e9c (patch) | |
| tree | cd509b9734efa7f8dc187bc72e0c5da63d1d27fc /src/lisp/ao_lisp_mem.c | |
| parent | 399ba0a62422f71ff9669ba03b6a058bb2981c27 (diff) | |
altos/lisp: Add casts to keep the latest GCC from whinging
Something about alignment issues.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/ao_lisp_mem.c')
| -rw-r--r-- | src/lisp/ao_lisp_mem.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/lisp/ao_lisp_mem.c b/src/lisp/ao_lisp_mem.c index 5bf6e1e4..d067ea07 100644 --- a/src/lisp/ao_lisp_mem.c +++ b/src/lisp/ao_lisp_mem.c @@ -169,15 +169,15 @@ static const struct ao_lisp_root	ao_lisp_root[] = {  	},  	{  		.type = NULL, -		.addr = (void **) &save_poly[0] +		.addr = (void **) (void *) &save_poly[0]  	},  	{  		.type = NULL, -		.addr = (void **) &save_poly[1] +		.addr = (void **) (void *) &save_poly[1]  	},  	{  		.type = NULL, -		.addr = (void **) &save_poly[2] +		.addr = (void **) (void *) &save_poly[2]  	},  	{  		.type = &ao_lisp_atom_type, @@ -197,7 +197,7 @@ static const struct ao_lisp_root	ao_lisp_root[] = {  	},  	{  		.type = NULL, -		.addr = (void **) &ao_lisp_v, +		.addr = (void **) (void *) &ao_lisp_v,  	},  	{  		.type = &ao_lisp_cons_type, | 
