diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2021-02-19 11:58:11 -0500 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2021-02-19 11:58:11 -0500 |
| commit | 0f3073387b7891d483262a05ef3381e70a9ef650 (patch) | |
| tree | 6349a2e4bd4fde4362f9fb9e0fbb9267113e0030 /lib | |
| parent | dc86ef74e68d575f4beec0197177e90dfb42c643 (diff) | |
lib: use right type for wconv() return val
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/clippy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
