diff options
| author | Paul Eggert | 2014-09-10 08:21:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-09-10 08:21:46 -0700 |
| commit | a2dcba1cf3acc322b7d0c45e5bfb12148f464e07 (patch) | |
| tree | f4a79cbf123c0c8f086a93a83b622d8f533780f3 /src/alloc.c | |
| parent | 11e28ab08d44c1fc40e3e4dc728c14c521b3879d (diff) | |
| download | emacs-a2dcba1cf3acc322b7d0c45e5bfb12148f464e07.tar.gz emacs-a2dcba1cf3acc322b7d0c45e5bfb12148f464e07.zip | |
* src/alloc.c (verify_alloca): Replace a stray occurrence of pointer_valid_for_lisp_object.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c index 714827f6ae3..1dbd46d6f89 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -7175,8 +7175,8 @@ verify_alloca (void) | |||
| 7175 | /* Start from size of the smallest Lisp object. */ | 7175 | /* Start from size of the smallest Lisp object. */ |
| 7176 | for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++) | 7176 | for (i = sizeof (struct Lisp_Cons); i <= ALLOCA_CHECK_MAX; i++) |
| 7177 | { | 7177 | { |
| 7178 | char *ptr = alloca (i); | 7178 | void *ptr = alloca (i); |
| 7179 | eassert (pointer_valid_for_lisp_object (ptr)); | 7179 | make_lisp_ptr (ptr, Lisp_Cons); |
| 7180 | } | 7180 | } |
| 7181 | } | 7181 | } |
| 7182 | 7182 | ||