summaryrefslogtreecommitdiff
path: root/regex/reginit.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex/reginit.c')
-rw-r--r--regex/reginit.c2
1 files changed, 1 insertions, 1 deletions
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++)
{