summaryrefslogtreecommitdiffstats
path: root/m_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_option.h')
-rw-r--r--m_option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/m_option.h b/m_option.h
index 77dddcef1d..b2f201c712 100644
--- a/m_option.h
+++ b/m_option.h
@@ -460,7 +460,7 @@ static inline char *m_option_print(const m_option_t *opt, const void *val_ptr)
if (opt->type->print)
return opt->type->print(opt, val_ptr);
else
- return (char *)-1;
+ return NULL;
}
// Helper around \ref m_option_type::copy.