summaryrefslogtreecommitdiff
path: root/src/redisassert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/redisassert.h')
-rw-r--r--src/redisassert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redisassert.h b/src/redisassert.h
index dd7920554..a3f95da09 100644
--- a/src/redisassert.h
+++ b/src/redisassert.h
@@ -43,7 +43,7 @@
#define assert(_e) (likely((_e))?(void)0 : (_serverAssert(#_e,__FILE__,__LINE__),redis_unreachable()))
#define panic(...) _serverPanic(__FILE__,__LINE__,__VA_ARGS__),redis_unreachable()
-void _serverAssert(char *estr, char *file, int line);
+void _serverAssert(const char *estr, const char *file, int line);
void _serverPanic(const char *file, int line, const char *msg, ...);
#endif