Add scratch file handles.
[pspp-builds.git] / src / correlations.q
index d73c3cfff18b2b30a165179fa268882c32e85539..f5348748d50c95365e83c69fe2bb2ef00dd44c46 100644 (file)
@@ -33,7 +33,7 @@ struct cor_set
   {
     struct cor_set *next;
     struct variable **v1, **v2;
-    int nv1, nv2;
+    size_t nv1, nv2;
   };
 
 struct cor_set *cor_list, *cor_last;
@@ -84,7 +84,7 @@ static int
 cor_custom_variables (struct cmd_correlations *cmd UNUSED)
 {
   struct variable **v1, **v2;
-  int nv1, nv2;
+  size_t nv1, nv2;
   struct cor_set *cor;
 
   /* Ensure that this is a VARIABLES subcommand. */
@@ -137,7 +137,7 @@ cor_custom_matrix (struct cmd_correlations *cmd UNUSED)
     matrix_file = NULL;
   else 
     {
-      matrix_file = fh_parse ();
+      matrix_file = fh_parse (FH_REF_FILE);
       if (matrix_file == NULL)
         return 0; 
     }