summaryrefslogtreecommitdiff
path: root/src/perl/perl.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-11-23 23:29:32 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-11-23 23:29:32 +0000
commitd1d70fd5d78af01040983831cbe9aa79f1d56425 (patch)
treeda9c11fb31eafff80a27b5d8c2e108e271c1538d /src/perl/perl.c
parent8961d23171ff5d8e9eb15c1f935c9447d24ad2dc (diff)
downloadirssi-d1d70fd5d78af01040983831cbe9aa79f1d56425.zip
s/enum GInputCondition/int/ - enums aren't supposed to orred together i
think.. at least MIPSpro gave warnings about it and it also feels wrong :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@865 dbcabf3a-b0e7-0310-adc4-f8d773084564
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);