about summary refs log tree commit diff
path: root/malloc/obstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/obstack.h')
-rw-r--r--malloc/obstack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/obstack.h b/malloc/obstack.h
index 49492eb73c..e7ae6959e5 100644
--- a/malloc/obstack.h
+++ b/malloc/obstack.h
@@ -498,7 +498,7 @@ __extension__								\
  (unsigned) ((h)->chunk_limit - (h)->next_free)
 
 #define obstack_empty_p(h) \
- (h->chunk->prev == 0 && h->next_free - h->chunk->contents == 0)
+ ((h)->chunk->prev == 0 && (h)->next_free - (h)->chunk->contents == 0)
 
 /* Note that the call to _obstack_newchunk is enclosed in (..., 0)
    so that we can avoid having void expressions