aboutsummaryrefslogtreecommitdiff
path: root/src/PJ_bipc.c
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2001-02-07 17:55:05 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2001-02-07 17:55:05 +0000
commit6ab5e6cfa7775b8fe77a93432d331b8654a33b3f (patch)
tree9af88663973b8f6c23f345c4783a16ca1de223ce /src/PJ_bipc.c
parent6c008cb7ae007b6f0cb813febcefa60c718c05c7 (diff)
downloadPROJ-6ab5e6cfa7775b8fe77a93432d331b8654a33b3f.tar.gz
PROJ-6ab5e6cfa7775b8fe77a93432d331b8654a33b3f.zip
Cleaned up various warnings when compiled with -Wall.
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@906 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src/PJ_bipc.c')
-rw-r--r--src/PJ_bipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_bipc.c b/src/PJ_bipc.c
index dd3fae8d..f5008ddf 100644
--- a/src/PJ_bipc.c
+++ b/src/PJ_bipc.c
@@ -41,7 +41,7 @@ FORWARD(s_forward); /* spheroid */
tphi = sphi / cphi;
Az = atan2(sdlam , C45 * (tphi - cdlam));
}
- if (tag = (Az > Azba)) {
+ if( (tag = (Az > Azba)) ) {
cdlam = cos(sdlam = lp.lam + R110);
sdlam = sin(sdlam);
z = S20 * sphi + C20 * cphi * cdlam;
@@ -93,7 +93,7 @@ INVERSE(s_inverse); /* spheroid */
xy.x = -xy.x * cAzc + xy.y * sAzc;
xy.y = -xy.y * cAzc - t * sAzc;
}
- if (neg = (xy.x < 0.)) {
+ if( (neg = (xy.x < 0.)) ) {
xy.y = rhoc - xy.y;
s = S20;
c = C20;