summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-12-06 11:27:18 +0100
committerJunio C Hamano <gitster@pobox.com>2024-12-06 20:20:01 +0900
commit709fdce0893f93464435841e0eb9f6df3fd73807 (patch)
tree33bf33aa4f19493368bd0ae5852eb3dc3045aac2 /commit-graph.c
parent6e1d0ce47014f2d8434c54ef70dc9b43602652a5 (diff)
compat/win32: fix -Wsign-compare warning in "wWinMain()"
GCC generates a warning in "headless.c" because we compare `slash` with `size`, where the former is an `int` and the latter is a `size_t`. Fix the warning by storing `slash` as a `size_t`, as well. This commit is being singled out because the file does not include the "git-compat-util.h" header, and consequently, we cannot easily mark it with the `DISABLE_SIGN_COMPARE_WARNING` macro. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions