mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +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
|
|
@ -81,7 +81,7 @@ SV *perl_func_sv_inc(SV *func, const char *package)
|
|||
if (SvPOK(func)) {
|
||||
/* prefix with package name */
|
||||
name = g_strdup_printf("%s::%s", package,
|
||||
(char *) SvPV_nolen(func));
|
||||
SvPV_nolen(func));
|
||||
func = new_pv(name);
|
||||
g_free(name);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue