mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
cleanup char* casts and replace one useless SvPV with SvPV_nolen
This commit is contained in:
parent
7dbb8efdde
commit
f58a461c54
4 changed files with 11 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue