shithub: choc

Download patch

ref: d4f69f4889ba5f7a71165a43a98cc22ed7bae71b
parent: ac2bc57ab2017538a2cac0d2907c46394e8bace0
author: Turo Lamminen <turotl@gmail.com>
date: Sat May 26 11:50:11 EDT 2018

config: Make GetDefaultForName parameter const

--- a/src/m_config.c
+++ b/src/m_config.c
@@ -2030,7 +2030,7 @@
 
 // Get a configuration file variable by its name
 
-static default_t *GetDefaultForName(char *name)
+static default_t *GetDefaultForName(const char *name)
 {
     default_t *result;