From: Junio C Hamano Date: Sun, 30 Mar 2014 02:01:54 +0000 (-0700) Subject: parse-options: add cast to correct pointer type to OPT_SET_PTR X-Git-Tag: v2.0.0-rc0~16^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/9ff8ff310b71ab79ffb0ecaa004dec65cec31a45?ds=inline;hp=9ff8ff310b71ab79ffb0ecaa004dec65cec31a45 parse-options: add cast to correct pointer type to OPT_SET_PTR Do not force users of OPT_SET_PTR to cast pointer to correct underlying pointer type by integrating cast into OPT_SET_PTR macro. Cast is required to prevent 'initialization makes integer from pointer without a cast' compiler warning. Signed-off-by: Junio C Hamano ---