Eliminate gcc 4.0 warning in libedit code. (Bug #9603)

This commit is contained in:
jimw@mysql.com 2005-05-07 08:16:43 -07:00
parent 7e7ed0f6a8
commit 45058e100a

View File

@ -1014,7 +1014,7 @@ vi_histedit(EditLine *el, int c)
return CC_ERROR;
case 0:
close(fd);
execlp("vi", "vi", tempfile, 0);
execlp("vi", "vi", tempfile, (char *) NULL);
exit(0);
/*NOTREACHED*/
default: