From fdf483d862ea3d725fd9098bec07c7d45d68ca17 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 19 Feb 2024 13:40:50 +0100 Subject: [PATCH] include: os: fix return value of OsLookupColor() The actual implementation uses Bool, but forward declaration is int. For the compiler it's practically the same, but for the programmer these have different semantics. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- include/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/os.h b/include/os.h index 7db24088f..b02107ae1 100644 --- a/include/os.h +++ b/include/os.h @@ -304,7 +304,7 @@ LockServer(void); extern _X_EXPORT void UnlockServer(void); -extern _X_EXPORT int +extern _X_EXPORT Bool OsLookupColor(int /*screen */ , char * /*name */ , unsigned /*len */ ,