From c890b8942d558f0746892730a587302c33471285 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 17 Aug 2013 19:50:45 +0200 Subject: m_option: make defval const There's really no reason why it shouldn't. --- mpvcore/m_option.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpvcore/m_option.h b/mpvcore/m_option.h index d8ea643dcf..1ab78fa4a8 100644 --- a/mpvcore/m_option.h +++ b/mpvcore/m_option.h @@ -318,7 +318,7 @@ struct m_option { int offset; // Initialize variable to given default before parsing options - void *defval; + const void *defval; }; -- cgit v1.2.3