Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Pass callbacks to git by address
ISO C has no conversion between a function pointer and void *, so the callbacks handed through git's data pointers and the write found by dlsym stopped the pedantic half of a DEVELOPER=1 build.
-rw-r--r--source/cgit.mk2
-rw-r--r--source/filter.c9
-rw-r--r--source/shared.c8
-rw-r--r--source/shared.h5
-rw-r--r--source/ui-log.c4
5 files changed, 20 insertions, 8 deletions