aboutsummaryrefslogtreecommitdiff
path: root/src/pj_gc_reader.c
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@mines-paris.org>2017-12-18 13:42:38 +0100
committerGitHub <noreply@github.com>2017-12-18 13:42:38 +0100
commit5bd4aef074ed3d9041e252be53fd2810ec40a02f (patch)
tree945f42cf3d587a7ed29b6ac7fea7b62260516514 /src/pj_gc_reader.c
parente073e13b4d7c830d1e7144c22a1ab1c225f47a39 (diff)
parenta07501a165e6f2521c9aa13fa63fab33cf67d876 (diff)
downloadPROJ-5bd4aef074ed3d9041e252be53fd2810ec40a02f.tar.gz
PROJ-5bd4aef074ed3d9041e252be53fd2810ec40a02f.zip
Merge pull request #674 from aaronpuchert/const-globals
Declare non-local variables as const where possible
Diffstat (limited to 'src/pj_gc_reader.c')
-rw-r--r--src/pj_gc_reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_gc_reader.c b/src/pj_gc_reader.c
index e49e56a4..90610a17 100644
--- a/src/pj_gc_reader.c
+++ b/src/pj_gc_reader.c
@@ -47,7 +47,7 @@ PJ_GridCatalog *pj_gc_readcatalog( projCtx ctx, const char *catalog_name )
int entry_max;
char line[302];
- fid = pj_open_lib( ctx, (char *) catalog_name, "r" );
+ fid = pj_open_lib( ctx, catalog_name, "r" );
if (fid == NULL)
return NULL;