1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/misc/gctpc/files/patch-ac
Maxim Sobolev d819cdda38 Add gctpc 1.3, an USGS General Cartographic Transformation Package
(GCTP).

PR:		26927
Submitted by:	Randall Hopper <aa8vb@nc.rr.com>
2001-05-31 12:45:33 +00:00

9 lines
429 B
Plaintext

--- ORIG/cproj.c Mon Nov 22 16:39:46 1993
+++ cproj.c Thu Apr 26 18:40:10 2001
@@ -408,4 +408,4 @@
/* Function to calculate UTM zone number--NOTE Longitude entered in DEGREES!!!
---------------------------------------------------------------------------*/
-calc_utm_zone(lon) double lon; { return((long)(((lon + 180.0) / 6.0) + 1.0)); }
+long calc_utm_zone(lon) double lon; { return((long)(((lon + 180.0) / 6.0) + 1.0)); }