From: Sebastian Dröge Date: Mon, 8 Aug 2011 11:04:30 +0000 (+0200) Subject: omx: Add parenthesis at correct places in the struct init macro X-Git-Tag: 1.0.0~376 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8791be3f9567dbcea0f93ce69a56d53741a684da;p=platform%2Fupstream%2Fgst-omx.git omx: Add parenthesis at correct places in the struct init macro --- diff --git a/omx/gstomx.h b/omx/gstomx.h index 337acf5..ebdd4e8 100644 --- a/omx/gstomx.h +++ b/omx/gstomx.h @@ -29,8 +29,8 @@ G_BEGIN_DECLS #define GST_OMX_INIT_STRUCT(st) G_STMT_START { \ - memset ((st), 0, sizeof ((*st))); \ - (st)->nSize = sizeof ((*st)); \ + memset ((st), 0, sizeof (*(st))); \ + (st)->nSize = sizeof (*(st)); \ (st)->nVersion.s.nVersionMajor = 1; \ (st)->nVersion.s.nVersionMinor = 1; \ } G_STMT_END