]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: use right type for wconv() return val
authorMark Stapp <mjs@voltanet.io>
Fri, 26 Feb 2021 16:19:45 +0000 (11:19 -0500)
committerMark Stapp <mjs@voltanet.io>
Fri, 26 Feb 2021 16:19:45 +0000 (11:19 -0500)
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
lib/clippy.c

index d37d06054c7a1882d798382ec19f75bd9740ac64..fd0a9eebc0d46837d1449308fb18b12d2cf0a857 100644 (file)
@@ -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);