cleanup char* casts and replace one useless SvPV with SvPV_nolen

This commit is contained in:
Ailin Nemui 2014-06-25 03:17:03 +02:00
commit f58a461c54
4 changed files with 11 additions and 12 deletions

View file

@ -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);