diff options
Diffstat (limited to 'src/scheme/ao_scheme_poly.c')
| -rw-r--r-- | src/scheme/ao_scheme_poly.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/scheme/ao_scheme_poly.c b/src/scheme/ao_scheme_poly.c index 25ac6d67..0cffc196 100644 --- a/src/scheme/ao_scheme_poly.c +++ b/src/scheme/ao_scheme_poly.c @@ -65,7 +65,7 @@ ao_scheme_poly(const void *addr, ao_poly type) {  	const uint8_t	*a = addr;  	if (a == NULL)  		return AO_SCHEME_NIL; -	if (AO_SCHEME_IS_CONST(a)) +	if (ao_scheme_is_const_addr(a))  		return AO_SCHEME_CONST | (a - ao_scheme_const + 4) | type;  	return (a - ao_scheme_pool + 4) | type;  } | 
