From 556dfd2117e20f15944fe89921e4c2f81a8ec225 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Fri, 26 Feb 2021 11:19:45 -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 d37d06054c..fd0a9eebc0 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