summaryrefslogtreecommitdiffstats
path: root/quote.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 12:20:01 +0100
commit709fdce0893f93464435841e0eb9f6df3fd73807 (patch)
tree33bf33aa4f19493368bd0ae5852eb3dc3045aac2 /quote.c
parentcompat/regex: explicitly ignore "-Wsign-compare" warnings (diff)
downloadgit-709fdce0893f93464435841e0eb9f6df3fd73807.tar.xz
git-709fdce0893f93464435841e0eb9f6df3fd73807.zip
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 'quote.c')
0 files changed, 0 insertions, 0 deletions