1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Patch to fix libedit vis.h problem (OSX/FreeBSD)

This commit is contained in:
Karen Langford
2011-10-28 16:40:46 +02:00
parent ff758c8c45
commit 381571fdca
3 changed files with 9 additions and 9 deletions

View File

@ -333,7 +333,7 @@ memset(&state, 0, sizeof(mbstate_t));
#ifdef WIDECHAR
++cbp;
if (cbp > MB_CUR_MAX) { /* "shouldn't happen" */
if (cbp > (size_t) MB_CUR_MAX) { /* "shouldn't happen" */
*cp = '\0';
return (-1);
}