Changed a lot of ints to bools.
[pspp-builds.git] / src / language / stats / frequencies.q
index c1e40d62a4f45f47984be353d172fedada8429d6..5e9e18937bbc84c4b5135799d72b83a525898d5d 100644 (file)
@@ -509,7 +509,7 @@ calc (const struct ccase *c, void *aux UNUSED)
 {
   double weight;
   size_t i;
-  int bad_warn = 1;
+  bool bad_warn = true;
 
   weight = dict_get_case_weight (default_dict, c, &bad_warn);
 
@@ -712,9 +712,9 @@ get_freq_comparator (int frq_sort, int var_type)
   return 0;
 }
 
-/* Returns nonzero iff the value in struct freq F is non-missing
+/* Returns true iff the value in struct freq F is non-missing
    for variable V. */
-static int
+static bool
 not_missing (const void *f_, void *v_) 
 {
   const struct freq *f = f_;