about summary refs log tree commit diff
path: root/editor
diff options
context:
space:
mode:
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 +