diff options
Diffstat (limited to 'regex')
-rwxr-xr-x | regex/CMakeLists.txt | 2 | ||||
-rw-r--r-- | regex/reginit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/regex/CMakeLists.txt b/regex/CMakeLists.txt index bdec7194e41..9b95c9d2bc6 100755 --- a/regex/CMakeLists.txt +++ b/regex/CMakeLists.txt @@ -16,5 +16,5 @@ SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -DSAFEMALLOC -DSAFE_MUTEX") SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -DSAFEMALLOC -DSAFE_MUTEX") -INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/mysys}) +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) ADD_LIBRARY(regex debug.c regcomp.c regerror.c regexec.c regfree.c reginit.c split.c) diff --git a/regex/reginit.c b/regex/reginit.c index f0b53e64be3..8347c4f6895 100644 --- a/regex/reginit.c +++ b/regex/reginit.c @@ -16,7 +16,7 @@ void my_regex_init(CHARSET_INFO *cs) if (!regex_inited) { regex_inited=1; - bzero((gptr) &count,sizeof(count)); + bzero((uchar*) &count,sizeof(count)); for (i=1 ; i<= 255; i++) { |