ksh/ksh93-unaligned.dif

12 lines
292 B
Plaintext

--- src/cmd/ksh93/sh/fault.c
+++ src/cmd/ksh93/sh/fault.c 2006-11-10 15:54:18.692134343 +0000
@@ -70,7 +70,7 @@
#ifdef SIGWINCH
if(sig==SIGWINCH)
{
- int rows=0, cols=0;
+ long rows=0, cols=0;
astwinsize(2,&rows,&cols);
if(cols)
nv_putval(COLUMNS, (char*)&cols, NV_INTEGER);