From 0f12c8e0dc89e470790a19596375d40637c667c7 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Fri, 1 Jul 2016 08:13:12 -0600 Subject: [PATCH] fix compiler warning for the no-threads build --- racket/src/racket/src/regexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/src/racket/src/regexp.c b/racket/src/racket/src/regexp.c index ba55d8e5d6..8354e3f10f 100644 --- a/racket/src/racket/src/regexp.c +++ b/racket/src/racket/src/regexp.c @@ -85,7 +85,7 @@ THREAD_LOCAL_DECL(static rxpos regcodesize); THREAD_LOCAL_DECL(static rxpos regcodemax); THREAD_LOCAL_DECL(static intptr_t regmaxlookback); -THREAD_LOCAL_DECL(static char *regerrorwho); +THREAD_LOCAL_DECL(static const char *regerrorwho); THREAD_LOCAL_DECL(static Scheme_Object *regerrorproc); /* error handler for regexp construction */ THREAD_LOCAL_DECL(static Scheme_Object *regerrorval); /* result of error handler for failed regexp construction */