git/compat/win32
Patrick Steinhardt 709fdce089 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>
2024-12-06 20:20:01 +09:00
..
alloca.h mingw: activate alloca 2014-04-09 10:08:35 -07:00
dirent.c Win32: Unicode file name support (dirent) 2014-07-15 11:19:09 -07:00
dirent.h Win32: Unicode file name support (dirent) 2014-07-15 11:19:09 -07:00
flush.c core.fsyncmethod: add writeout-only mode 2022-03-10 15:10:22 -08:00
git.manifest mingw: embed a manifest to trick UAC into Doing The Right Thing 2019-06-27 12:55:45 -07:00
headless.c compat/win32: fix -Wsign-compare warning in "wWinMain()" 2024-12-06 20:20:01 +09:00
lazyload.h lazyload: use correct calling conventions 2022-01-09 10:34:53 -08:00
path-utils.c environment: guard state depending on a repository 2024-09-12 10:15:42 -07:00
path-utils.h win32: override `fspathcmp()` with a directory separator-aware version 2024-07-13 16:23:36 -07:00
pthread.c compat: mark unused parameters in win32/mingw functions 2024-08-28 09:51:18 -07:00
pthread.h compat: mark unused parameters in win32/mingw functions 2024-08-28 09:51:18 -07:00
syslog.c compat: mark unused parameters in win32/mingw functions 2024-08-28 09:51:18 -07:00
syslog.h mingw: implement syslog 2010-11-04 16:53:49 -07:00
trace2_win32_process_info.c global: introduce `USE_THE_REPOSITORY_VARIABLE` macro 2024-06-14 10:26:33 -07:00