summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/confmgt/confparse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/confmgt/confparse.h b/src/lib/confmgt/confparse.h
index 628eb8927e..8d7278cb04 100644
--- a/src/lib/confmgt/confparse.h
+++ b/src/lib/confmgt/confparse.h
@@ -68,7 +68,7 @@ typedef struct config_deprecation_t {
* config_dump(); later in our refactoring, it will be cleaned up and used
* more generally.
*/
-typedef int (*validate_fn_t)(void *oldval,
+typedef int (*validate_fn_t)(const void *oldval,
void *newval,
char **msg_out);