fix for solaris compiler

This commit is contained in:
Gunnar Ritter 2005-02-18 17:57:00 +00:00
parent 1f78fc629a
commit 47bc82618c
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@
#ifndef lint #ifndef lint
#ifdef DOSCCS #ifdef DOSCCS
static char sccsid[] = "@(#)ex_re.c 1.45 (gritter) 2/13/05"; static char sccsid[] = "@(#)ex_re.c 1.46 (gritter) 2/18/05";
#endif #endif
#endif #endif
@ -659,7 +659,7 @@ dosub(void)
if (casecnt) if (casecnt)
c = fixcase(c & TRIM); c = fixcase(c & TRIM);
if (c & INVBIT || (m = wctomb(mb, c)) <= 0) { if (c & INVBIT || (m = wctomb(mb, c)) <= 0) {
*mb = rp[-n]; mb[0] = rp[-n];
m = 1; m = 1;
} }
for (i = 0; i < m; i++) { for (i = 0; i < m; i++) {