mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
Update "check.c" to be C23 compliant
Fixes compilation errors with GCC 15. Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
|
||||
BOOL isWSLEnabled();
|
||||
BOOL isHyperVEnabled();
|
||||
LPCWSTR boolToNStr(BOOL bool);
|
||||
LPCWSTR boolToNStr(BOOL value);
|
||||
LPCSTR szSvcNameHyperv = TEXT("vmms");
|
||||
|
||||
/**
|
||||
@ -43,8 +43,8 @@ LPCSTR szSvcNameHyperv = TEXT("vmms");
|
||||
return 0;
|
||||
}
|
||||
|
||||
LPCWSTR boolToNStr(BOOL bool) {
|
||||
return bool ? L"1" : L"0";
|
||||
LPCWSTR boolToNStr(BOOL value) {
|
||||
return value ? L"1" : L"0";
|
||||
}
|
||||
|
||||
BOOL isWSLEnabled() {
|
||||
|
Reference in New Issue
Block a user