summaryrefslogtreecommitdiff
path: root/src/perl/irc
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-11-07 17:40:05 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-11-07 17:40:05 +0000
commitdf7ccce8eca3690ccabdd0419aa8c75a6a0522bc (patch)
treea1938abe666ea7de1148cd57ae43c92466d3982f /src/perl/irc
parenta6095cd421985fcbccb6d41356e3c40e3f8c1689 (diff)
downloadirssi-df7ccce8eca3690ccabdd0419aa8c75a6a0522bc.zip
Some compiling fixes found by -Wall in perl dirs..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2990 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/irc')
-rw-r--r--src/perl/irc/Ctcp.xs1
-rw-r--r--src/perl/irc/Irc.xs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/perl/irc/Ctcp.xs b/src/perl/irc/Ctcp.xs
index 675091fd..f298a2a4 100644
--- a/src/perl/irc/Ctcp.xs
+++ b/src/perl/irc/Ctcp.xs
@@ -1,4 +1,5 @@
#include "module.h"
+#include "ctcp.h"
MODULE = Irssi::Irc::Ctcp PACKAGE = Irssi
PROTOTYPES: ENABLE
diff --git a/src/perl/irc/Irc.xs b/src/perl/irc/Irc.xs
index e5a662a4..d976ce9e 100644
--- a/src/perl/irc/Irc.xs
+++ b/src/perl/irc/Irc.xs
@@ -8,7 +8,7 @@ static void perl_irc_connect_fill_hash(HV *hv, IRC_SERVER_CONNECT_REC *conn)
static void perl_irc_server_fill_hash(HV *hv, IRC_SERVER_REC *server)
{
- perl_server_fill_hash(hv, server);
+ perl_server_fill_hash(hv, (SERVER_REC *) server);
hv_store(hv, "real_address", 12, new_pv(server->real_address), 0);
hv_store(hv, "usermode", 8, new_pv(server->usermode), 0);