summaryrefslogtreecommitdiff
path: root/src/perl/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl/perl.c')
-rw-r--r--src/perl/perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl.c b/src/perl/perl.c
index 699cbcd5..9d31fa11 100644
--- a/src/perl/perl.c
+++ b/src/perl/perl.c
@@ -488,7 +488,7 @@ int perl_input_add(int source, int condition,
rec = g_new(PERL_SOURCE_REC, 1);
rec->func = g_strdup_printf("%s::%s", perl_get_package(), func);
rec->data = g_strdup(data);
- rec->tag = g_input_add(source, (GInputCondition) condition,
+ rec->tag = g_input_add(source, condition,
(GInputFunction) perl_source_event, rec);
perl_sources = g_slist_append(perl_sources, rec);