X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcheck_type%2Fcheck_type.h;fp=ccan%2Fcheck_type%2Fcheck_type.h;h=837aef7b1a36a85e8a2ef775d9a2c92c6ac796c4;hp=77501a95597c3e73396c270d54a8ed53a9defbc4;hb=99c2539a8bd918c34e2c465f60c63675e70650e3;hpb=41a0af50bf7e9cee7ad5ffdd288647ea2c3a6c38 diff --git a/ccan/check_type/check_type.h b/ccan/check_type/check_type.h index 77501a95..837aef7b 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) \