diff options
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; } |
