From 0f3073387b7891d483262a05ef3381e70a9ef650 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Fri, 19 Feb 2021 11:58:11 -0500 Subject: [PATCH] lib: use right type for wconv() return val Signed-off-by: Quentin Young --- lib/clippy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/clippy.c b/lib/clippy.c index c655619b71..b52c48ec92 100644 --- a/lib/clippy.c +++ b/lib/clippy.c @@ -51,7 +51,7 @@ int main(int argc, char **argv) #if PY_VERSION_HEX >= 0x03040000 /* 3.4 */ Py_SetStandardStreamEncoding("UTF-8", NULL); #endif - char *name = wconv(argv[0]); + wchar_t *name = wconv(argv[0]); Py_SetProgramName(name); PyImport_AppendInittab("_clippy", command_py_init); -- 2.39.5