summaryrefslogtreecommitdiff
path: root/geoid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2012-04-20 05:49:01 -0400
committerEric S. Raymond <esr@thyrsus.com>2012-04-20 05:49:01 -0400
commitf806002f6aae88fcfe9eb0530985fd9c5f5d7f28 (patch)
treeb729068c1b8f41b97f81b0d9191fbdcc2457fa0a /geoid.c
parent4dc7b5468e669dce490951f523d9678e8616b45f (diff)
downloadgpsd-f806002f6aae88fcfe9eb0530985fd9c5f5d7f28.tar.gz
Fix a strange type goof. Might solve an s390 port problem.
Diffstat (limited to 'geoid.c')
-rw-r--r--geoid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/geoid.c b/geoid.c
index cb7cec38..a9ebb432 100644
--- a/geoid.c
+++ b/geoid.c
@@ -42,7 +42,7 @@ double wgs84_separation(double lat, double lon)
#define GEOID_COL 37
/* *INDENT-OFF* */
/*@ +charint @*/
- const char geoid_delta[GEOID_COL*GEOID_ROW]={
+ const int geoid_delta[GEOID_COL*GEOID_ROW]={
/* 90S */ -30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30, -30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,
/* 80S */ -53,-54,-55,-52,-48,-42,-38,-38,-29,-26,-26,-24,-23,-21,-19,-16,-12, -8, -4, -1, 1, 4, 4, 6, 5, 4, 2, -6,-15,-24,-33,-40,-48,-50,-53,-52,-53,
/* 70S */ -61,-60,-61,-55,-49,-44,-38,-31,-25,-16, -6, 1, 4, 5, 4, 2, 6, 12, 16, 16, 17, 21, 20, 26, 26, 22, 16, 10, -1,-16,-29,-36,-46,-55,-54,-59,-61,