diff options
Diffstat (limited to 'src/pj_apply_gridshift.c')
| -rw-r--r-- | src/pj_apply_gridshift.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pj_apply_gridshift.c b/src/pj_apply_gridshift.c index 61a5944b..7860cbdd 100644 --- a/src/pj_apply_gridshift.c +++ b/src/pj_apply_gridshift.c @@ -31,6 +31,9 @@ ****************************************************************************** * * $Log$ + * Revision 1.4 2002/07/08 02:32:05 warmerda + * ensure clean C++ builds + * * Revision 1.3 2002/04/30 16:27:27 warmerda * improve debug output * @@ -129,9 +132,10 @@ static struct CTABLE *pj_get_grid( const char *name ) /* -------------------------------------------------------------------- */ if( grid_count == 0 ) { - grid_names = pj_malloc(sizeof(char *) * GRID_MAX); + grid_names = (char **) pj_malloc(sizeof(char *) * GRID_MAX); memset( grid_names, 0, sizeof(char *) * GRID_MAX ); - grid_list = pj_malloc(sizeof(struct CTABLE *) * GRID_MAX ); + grid_list = (struct CTABLE **) + pj_malloc(sizeof(struct CTABLE *) * GRID_MAX ); memset( grid_list, 0, sizeof(struct CTABLE *) * GRID_MAX ); } else if( grid_count >= GRID_MAX ) |
