about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-04-12 15:13:49 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2018-04-12 15:13:49 +0000
commit5d303e79198592a134f52b35920d04719ba3124f (patch)
tree2d9ef05d2d993be0a7e5b2dc102aad7e05298fef /editor
parent4a6444ff3a68d04ef73dca1f562b6df92ed0fef4 (diff)
downloadnetpbm-mirror-5d303e79198592a134f52b35920d04719ba3124f.tar.gz
netpbm-mirror-5d303e79198592a134f52b35920d04719ba3124f.tar.xz
netpbm-mirror-5d303e79198592a134f52b35920d04719ba3124f.zip
fix comment; cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3204 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor')
-rw-r--r--editor/pamlevels.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/editor/pamlevels.c b/editor/pamlevels.c
index dd494cb4..b2f4482d 100644
--- a/editor/pamlevels.c
+++ b/editor/pamlevels.c
@@ -408,12 +408,11 @@ solveFmCmdlineOpts(CmdlineInfo  const cmdline,
 
 
 
-static double
-xformedSample(double     const value,
+static samplen
+xformedSample(samplen    const value,
               Polynomial const polynomial) {
 /*----------------------------------------------------------------------------
-   The sample value 'value', transformed by the polynomial with coefficients
-   'coeffs'.
+  'sample' transformed by 'polynomial'.
 -----------------------------------------------------------------------------*/
     double const res =
         (polynomial.coeff[0] * value + polynomial.coeff[1]) * value +