Changed int to bool in dict_get_weight and sort_active_file_in_place
[pspp-builds.git] / src / language / stats / crosstabs.q
index a2115cef8aaac660d337e03e05f5b5a1336cb7be..d67fb62c02721a71d27be83337066adc8668e6ac 100644 (file)
@@ -564,7 +564,7 @@ precalc (const struct ccase *first, void *aux UNUSED)
 static bool
 calc_general (const struct ccase *c, void *aux UNUSED)
 {
-  int bad_warn = 1;
+  bool bad_warn = true;
 
   /* Case weight. */
   double weight = dict_get_case_weight (default_dict, c, &bad_warn);
@@ -638,7 +638,7 @@ calc_general (const struct ccase *c, void *aux UNUSED)
 static bool
 calc_integer (const struct ccase *c, void *aux UNUSED)
 {
-  int bad_warn = 1;
+  bool bad_warn = true;
 
   /* Case weight. */
   double weight = dict_get_case_weight (default_dict, c, &bad_warn);