Commit a2dcba1c authored by Paul Eggert's avatar Paul Eggert
Browse files

* src/alloc.c (verify_alloca): Replace a stray occurrence of pointer_valid_for_lisp_object.

parent 11e28ab0
...@@ -7175,8 +7175,8 @@ verify_alloca (void) ...@@ -7175,8 +7175,8 @@ verify_alloca (void)
/* Start from size of the smallest Lisp object. */ /* Start from size of the smallest Lisp object. */
for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++) for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++)
{ {
char *ptr = alloca (i); void *ptr = alloca (i);
eassert (pointer_valid_for_lisp_object (ptr)); make_lisp_ptr (ptr, Lisp_Cons);
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment