summaryrefslogtreecommitdiff
path: root/storage/connect/fmdlex.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/connect/fmdlex.c')
-rw-r--r--storage/connect/fmdlex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/fmdlex.c b/storage/connect/fmdlex.c
index 548a7ae5b7e..ef4f7bfc65a 100644
--- a/storage/connect/fmdlex.c
+++ b/storage/connect/fmdlex.c
@@ -529,7 +529,7 @@ YY_DECL
pp->Num = 0;
if (pp->InFmt) {*pp->InFmt = '\0'; pp->InFmt[pp->Outsize -1] = '\0'; }
if (pp->OutFmt) {*pp->OutFmt = '\0'; pp->OutFmt[pp->Outsize -1] = '\0'; }
- pp->Curp = pp->Format;
+ pp->Curp = (char*) pp->Format;
yy_init = 1; /* This is a new input */