1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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 2c67d5066d
commit 20ffbd3dd7
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);
}