summaryrefslogtreecommitdiff
path: root/src/perl/ui/Formats.xs
diff options
context:
space:
mode:
authorAilin Nemui <ailin@esf51.localdomain>2014-06-25 03:17:03 +0200
committerAilin Nemui <ailin@esf51.localdomain>2014-06-25 03:17:03 +0200
commitf58a461c54f2189543d64303e8c80bacda78448d (patch)
tree62d0d862fce3df1f7f7eadb05e194260e83ee922 /src/perl/ui/Formats.xs
parent7dbb8efdde3720fd15f06de088848259e24e3397 (diff)
downloadirssi-f58a461c54f2189543d64303e8c80bacda78448d.zip
cleanup char* casts and replace one useless SvPV with SvPV_nolen
Diffstat (limited to 'src/perl/ui/Formats.xs')
-rw-r--r--src/perl/ui/Formats.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/ui/Formats.xs b/src/perl/ui/Formats.xs
index 74add583..c16aa5a0 100644
--- a/src/perl/ui/Formats.xs
+++ b/src/perl/ui/Formats.xs
@@ -89,7 +89,7 @@ PREINIT:
PPCODE:
charargs = g_new0(char *, items-5+1);
for (n = 5; n < items; n++) {
- charargs[n-5] = (char *)SvPV_nolen(ST(n));
+ charargs[n-5] = SvPV_nolen(ST(n));
}
format_create_dest(&dest, server, target, 0, window);