X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=uemis.c;h=28302b1c0c75ae955d9ae29baf91fcf74056d676;hb=513df18f50afc13fcef9f2421b5a33b772eed380;hp=86b186043486a001b56154b4064e2bdcff4516f7;hpb=55352a051cfa7ac519e397cd3d18851e5050517b;p=ext%2Fsubsurface.git diff --git a/uemis.c b/uemis.c index 86b1860..28302b1 100644 --- a/uemis.c +++ b/uemis.c @@ -88,7 +88,7 @@ static int pressure_to_depth(uint16_t value) atm = bar_to_atm(value / 100.0); cm = 100 * atm + 0.5; - return( (cm > 0) ? 10 * (long)cm : 0); + return (cm > 0) ? 10 * (long)cm : 0; } /*