parse-options: add cast to correct pointer type to OPT_SET_PTR
authorJunio C Hamano <gitster@pobox.com>
Sun, 30 Mar 2014 02:01:54 +0000 (19:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Mar 2014 18:55:41 +0000 (11:55 -0700)
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 <gitster@pobox.com>
No differences found