diff options
| author | drhaynes <drhmbp@gmail.com> | 2016-01-26 14:36:51 +0000 |
|---|---|---|
| committer | drhaynes <drhmbp@gmail.com> | 2016-01-26 14:36:51 +0000 |
| commit | 1ec3c21b2b3f953cf9a2b3e36c959ee732eac11d (patch) | |
| tree | 4223a4ef7f676c4873afe6b05c8ced644f4ef9a9 /src | |
| parent | 3f6d3964bfcd2cdd83a0a7123981cf87d19ae105 (diff) | |
| download | PROJ-1ec3c21b2b3f953cf9a2b3e36c959ee732eac11d.tar.gz PROJ-1ec3c21b2b3f953cf9a2b3e36c959ee732eac11d.zip | |
Use const int for array size
Diffstat (limited to 'src')
| -rw-r--r-- | src/pj_gridlist.c | 6 |
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 == '@' ) { |
