diff options
Diffstat (limited to 'gi/pygoptioncontext.c')
-rw-r--r-- | gi/pygoptioncontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygoptioncontext.c b/gi/pygoptioncontext.c index cf34aad2..d807e0a1 100644 --- a/gi/pygoptioncontext.c +++ b/gi/pygoptioncontext.c @@ -161,7 +161,7 @@ pyg_option_context_parse(PyGOptionContext *self, original = g_strdupv(argv_content); g_assert(argv_length <= G_MAXINT); - argv_length_int = argv_length; + argv_length_int = (gint)argv_length; Py_BEGIN_ALLOW_THREADS; result = g_option_context_parse(self->context, &argv_length_int, &argv_content, &error); |