diff options
Diffstat (limited to 'src/screen.c')
-rw-r--r-- | src/screen.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c index 3dde3b4..b3c85d4 100644 --- a/src/screen.c +++ b/src/screen.c @@ -819,8 +819,8 @@ char **av; char *newbuf = malloc(3 * len); if (!newbuf) Panic(0, "%s", strnomem); - newsz = RecodeBuf(nwin_options.aka, len, - nwin_options.encoding, 0, newbuf); + newsz = RecodeBuf((unsigned char *)nwin_options.aka, len, + nwin_options.encoding, 0, (unsigned char *)newbuf); newbuf[newsz] = '\0'; nwin_options.aka = newbuf; } @@ -2517,7 +2517,7 @@ int rec; int truncpos = -1; int truncper = 0; int trunclong = 0; - struct backtick *bt; + struct backtick *bt = NULL; if (winmsg_numrend >= 0) winmsg_numrend = 0; |