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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user