Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
parse-options: add cast to correct pointer type to OPT_SET_PTR
author
Junio C Hamano
<gitster@pobox.com>
Sun, 30 Mar 2014 02:01:54 +0000
(19:01 -0700)
committer
Junio 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>
raw
|
patch
| inline |
side by side
(from:
9ff8ff3
)
No differences found