mirror of
https://github.com/git/git.git
synced 2024-11-27 20:14:30 +08:00
2d84c4ed57
gcc will helpfully raise a -Wcast-function-type warning when casting
between functions that might have incompatible return types
(ex: GetUserNameExW returns bool which is only half the size of the
return type from FARPROC which is long long), so create a new type that
could be used as a completely generic function pointer and cast through
it instead.
Additionaly remove the -Wno-incompatible-pointer-types temporary
flag added in
|
||
---|---|---|
.. | ||
alloca.h | ||
dirent.c | ||
dirent.h | ||
git.manifest | ||
lazyload.h | ||
path-utils.c | ||
path-utils.h | ||
pthread.c | ||
pthread.h | ||
syslog.c | ||
syslog.h | ||
trace2_win32_process_info.c |