aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pj_gridlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pj_gridlist.c b/src/pj_gridlist.c
index bc005d32..a49c8d51 100644
--- a/src/pj_gridlist.c
+++ b/src/pj_gridlist.c
@@ -177,9 +177,9 @@ PJ_GRIDINFO **pj_gridlist_from_nadgrids( projCtx ctx, const char *nadgrids,
for( s = nadgrids; *s != '\0'; )
{
size_t end_char;
- int required = 1;
- int max_path_length = 1024;
- char name[max_path_length];
+ int required = 1;
+ const int max_path_length = 1024;
+ char name[max_path_length];
if( *s == '@' )
{