aboutsummaryrefslogtreecommitdiffstats
path: root/storage_xml.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2013-04-20 14:17:22 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2013-04-20 14:17:22 +0100
commitdd95ce431b5c85eb6d74e501a7796e8a6016ec70 (patch)
tree6bce3f1b74e5019455ae12ddeaa6ebcfa29ea481 /storage_xml.c
parente31e5b8f340a162180830dbe42dd438e59591cfd (diff)
Const is hard, let's go hacking.
Diffstat (limited to 'storage_xml.c')
-rw-r--r--storage_xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage_xml.c b/storage_xml.c
index 10cb6495..1f2d4a51 100644
--- a/storage_xml.c
+++ b/storage_xml.c
@@ -181,7 +181,7 @@ static storage_status_t xml_load_real( irc_t *irc, const char *my_nick, const ch
strncpy( xd->given_nick, my_nick, MAX_NICK_LENGTH );
xd->given_nick[MAX_NICK_LENGTH] = '\0';
nick_lc( xd->given_nick );
- xd->given_pass = password;
+ xd->given_pass = (char*) password;
fn = g_strconcat( global.conf->configdir, xd->given_nick, ".xml", NULL );
if( ( fd = open( fn, O_RDONLY ) ) < 0 )