Index: trunk/psLib/src/math/psStats.c
===================================================================
--- trunk/psLib/src/math/psStats.c	(revision 1298)
+++ trunk/psLib/src/math/psStats.c	(revision 1322)
@@ -1184,5 +1184,5 @@
 
     // Populate the histogram array.
-    psHistogramVector(robustHistogram, myVector, maskVector, maskVal);
+    psVectorHistogram(robustHistogram, myVector, maskVector, maskVal);
 
     // Smooth the histogram.
@@ -1673,5 +1673,5 @@
 
 /*****************************************************************************
-psHistogramVector(out, in, mask, maskVal): this procedure takes as input a
+psVectorHistogram(out, in, mask, maskVal): this procedure takes as input a
 preallocated and initialized histogram structure.  It fills the bins in that
 histogram structure in accordance with the input data "in" and the, possibly
@@ -1686,8 +1686,8 @@
     The histogram structure "out".
  *****************************************************************************/
-psHistogram *psHistogramVector(psHistogram *out,
+psHistogram *psVectorHistogram(psHistogram *out,
                                const psVector *restrict in,
                                const psVector *restrict mask,
-                               int maskVal)
+                               unsigned int maskVal)
 {
     int i = 0;                                  // Loop index variable
