diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2012-07-24 16:36:30 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2012-07-24 16:36:30 +0000 |
| commit | 70e4dad9f4106472f4507d665c8ea4bf2a9cdbd7 (patch) | |
| tree | 92f2877b52fba8772622e2a92f17788cce3f729c /src/pj_gridcatalog.c | |
| parent | bc416d818180e58007a3360bcfcd57791f503976 (diff) | |
| download | PROJ-70e4dad9f4106472f4507d665c8ea4bf2a9cdbd7.tar.gz PROJ-70e4dad9f4106472f4507d665c8ea4bf2a9cdbd7.zip | |
fixes for visual studio builds (#182)
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2227 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/pj_gridcatalog.c')
| -rw-r--r-- | src/pj_gridcatalog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pj_gridcatalog.c b/src/pj_gridcatalog.c index c3873093..359e9fa0 100644 --- a/src/pj_gridcatalog.c +++ b/src/pj_gridcatalog.c @@ -121,6 +121,7 @@ int pj_gc_apply_gridshift( PJ *defn, int inverse, LP input, output_after, output_before; int itable; double mix_ratio; + PJ_GRIDINFO *gi; input.phi = y[io]; input.lam = x[io]; @@ -137,7 +138,7 @@ int pj_gc_apply_gridshift( PJ *defn, int inverse, &(defn->last_after_region), &(defn->last_after_date)); } - PJ_GRIDINFO *gi = defn->last_after_grid; + gi = defn->last_after_grid; assert( gi->child == NULL ); /* load the grid shift info if we don't have it. */ |
