X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hreq.h;h=8e12b62d54351501a0a1726db7ff8712de72282a;hb=ece754d98ecf9f5b81f5a6e002ee7ea2289a75bb;hp=d4041d7662584be140955d5573cf7b7a565b5a05;hpb=01576506d6d6fbfdbea9f4a0b17f0655b721c108;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hreq.h b/src/afb-hreq.h index d4041d76..8e12b62d 100644 --- a/src/afb-hreq.h +++ b/src/afb-hreq.h @@ -23,6 +23,10 @@ struct hreq_data; struct afb_hsrv; struct afb_hreq { + /* + * CAUTION: 'context' field should be the first because there + * is an implicit convertion to struct afb_context + */ struct afb_context context; int refcount; struct afb_hsrv *hsrv;