From f463612f35bbc380078d76cb56d5a88d61ea1e30 Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 27 Nov 2020 13:40:48 +0100 Subject: caja-python: remove warnings about conversion --- src/caja-python.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/caja-python.c b/src/caja-python.c index f28a74c..60841b6 100644 --- a/src/caja-python.c +++ b/src/caja-python.c @@ -156,7 +156,7 @@ caja_python_load_dir (GTypeModule *module, if (g_str_has_suffix(name, ".py")) { char *modulename; - int len; + size_t len; len = strlen(name) - 3; modulename = g_new0(char, len + 1 ); @@ -341,12 +341,12 @@ caja_module_shutdown(void) void caja_module_list_types(const GType **types, - int *num_types) + int *num_types) { debug_enter(); *types = (GType*)all_types->data; - *num_types = all_types->len; + *num_types = (int) all_types->len; } void -- cgit v1.2.1