Skip to content

Commit ae9e85b

Browse files
committed
Update "check.c" to be C23 compliant
Fixes compilation errors with GCC 15. Signed-off-by: Arthur Sengileyev <[email protected]>
1 parent ce0bac2 commit ae9e85b

File tree

1 file changed

+3
-3
lines changed
  • contrib/win-installer/podman-msihooks

1 file changed

+3
-3
lines changed

contrib/win-installer/podman-msihooks/check.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
BOOL isWSLEnabled();
55
BOOL isHyperVEnabled();
6-
LPCWSTR boolToNStr(BOOL bool);
6+
LPCWSTR boolToNStr(BOOL value);
77
LPCSTR szSvcNameHyperv = TEXT("vmms");
88

99
/**
@@ -43,8 +43,8 @@ LPCSTR szSvcNameHyperv = TEXT("vmms");
4343
return 0;
4444
}
4545

46-
LPCWSTR boolToNStr(BOOL bool) {
47-
return bool ? L"1" : L"0";
46+
LPCWSTR boolToNStr(BOOL value) {
47+
return value ? L"1" : L"0";
4848
}
4949

5050
BOOL isWSLEnabled() {

0 commit comments

Comments
 (0)