From a653c17e8a1e55e094aeea7425b572ed7fa3386e Mon Sep 17 00:00:00 2001 From: Luflosi Date: Fri, 22 Feb 2019 14:50:32 +0100 Subject: [PATCH] Fix function returning the wrong type --- glfw/ibus_glfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/ibus_glfw.c b/glfw/ibus_glfw.c index 16c952bd6..bc165b714 100644 --- a/glfw/ibus_glfw.c +++ b/glfw/ibus_glfw.c @@ -56,7 +56,7 @@ test_env_var(const char *name, const char *val) { return (q && strcmp(q, val) == 0) ? GLFW_TRUE : GLFW_FALSE; } -static inline GLFWbool +static inline size_t MIN(size_t a, size_t b) { return a < b ? a : b; }