summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-07-02 09:24:55 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-07-02 09:24:55 +0200
commitb5dac5c818a949c2c60b82723c09044dd9c95326 (patch)
tree5d36ee064395782f18418a1500d5db6f06d3292f /src
parentbda04996bc454ab897785067b8f264326ebbd084 (diff)
constify cmd_length variable in file_options_load()
Diffstat (limited to 'src')
-rw-r--r--src/phcfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phcfg.c b/src/phcfg.c
index cb4c5f8..c2567ce 100644
--- a/src/phcfg.c
+++ b/src/phcfg.c
@@ -237,7 +237,7 @@ int file_options_load(file_enable_t *files_enable)
if(extension_status!=NULL)
{
file_enable_t *file_enable;
- unsigned int cmd_length=extension_status-extension;
+ const unsigned int cmd_length=extension_status-extension;
*extension_status='\0';
extension_status++;
#ifdef DEBUG_PHCFG