aboutsummaryrefslogtreecommitdiff
path: root/src/nad_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nad_init.c')
-rw-r--r--src/nad_init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nad_init.c b/src/nad_init.c
index 84dc9867..3b35ea63 100644
--- a/src/nad_init.c
+++ b/src/nad_init.c
@@ -1,6 +1,4 @@
/******************************************************************************
- * $Id$
- *
* Project: PROJ.4
* Purpose: Load datum shift files into memory.
* Author: Frank Warmerdam, warmerdam@pobox.com
@@ -85,7 +83,7 @@ static void swap_words( void *data_in, int word_size, int word_count )
int nad_ctable_load( projCtx ctx, struct CTABLE *ct, PAFile fid )
{
- int a_size;
+ size_t a_size;
pj_ctx_fseek( ctx, fid, sizeof(struct CTABLE), SEEK_SET );
@@ -158,7 +156,7 @@ struct CTABLE *nad_ctable_init( projCtx ctx, PAFile fid )
int nad_ctable2_load( projCtx ctx, struct CTABLE *ct, PAFile fid )
{
- int a_size;
+ size_t a_size;
pj_ctx_fseek( ctx, fid, 160, SEEK_SET );