diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2012-02-21 01:53:19 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2012-02-21 01:53:19 +0000 |
| commit | d98ff554990439356dd9f827e71dc9b4a8e582ab (patch) | |
| tree | b8efdad6f1525fca809ffa5d14ade09995257cad /src/pj_init.c | |
| parent | 5dfb1d5301a0edf5ee142352a49eb37f9b5d1a88 (diff) | |
| download | PROJ-d98ff554990439356dd9f827e71dc9b4a8e582ab.tar.gz PROJ-d98ff554990439356dd9f827e71dc9b4a8e582ab.zip | |
Use parenthesis around assignments in if statements (#123).
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2163 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/pj_init.c')
| -rw-r--r-- | src/pj_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_init.c b/src/pj_init.c index cec7c544..29eb59ba 100644 --- a/src/pj_init.c +++ b/src/pj_init.c @@ -470,7 +470,7 @@ pj_init_ctx(projCtx ctx, int argc, char **argv) { if( strcmp(old_locale,"C") != 0 ) setlocale(LC_NUMERIC,old_locale); - free( old_locale ); + free( (char*)old_locale ); return PIN; } |
