summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-27 13:40:48 +0100
committerraveit65 <[email protected]>2020-12-06 00:29:06 +0100
commitf463612f35bbc380078d76cb56d5a88d61ea1e30 (patch)
tree1d2085f3b98e6743a1e3015cfac8dac4a38b3992 /src
parentaa940b185f2bbf8774a33748b7839dacaa079dd0 (diff)
downloadpython-caja-f463612f35bbc380078d76cb56d5a88d61ea1e30.tar.bz2
python-caja-f463612f35bbc380078d76cb56d5a88d61ea1e30.tar.xz
caja-python: remove warnings about conversion
Diffstat (limited to 'src')
-rw-r--r--src/caja-python.c6
1 files changed, 3 insertions, 3 deletions
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