diff options
Diffstat (limited to 'ccan/check_type/check_type.h')
-rw-r--r-- | ccan/check_type/check_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ccan/check_type/check_type.h b/ccan/check_type/check_type.h index 77501a9..837aef7 100644 --- a/ccan/check_type/check_type.h +++ b/ccan/check_type/check_type.h @@ -43,7 +43,7 @@ * #define container_of(mbr_ptr, encl_type, mbr) \ * (check_types_match((mbr_ptr), &((encl_type *)0)->mbr), \ * ((encl_type *) \ - * ((char *)(mbr_ptr) - offsetof(enclosing_type, mbr)))) + * ((char *)(mbr_ptr) - offsetof(encl_type, mbr)))) */ #if HAVE_TYPEOF #define check_type(expr, type) \ |