Add scratch file handles.
[pspp-builds.git] / src / correlations.q
index 4bde9a06311954a2848125b54d015d4ae08216d4..f5348748d50c95365e83c69fe2bb2ef00dd44c46 100644 (file)
@@ -14,8 +14,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA. */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+   02110-1301, USA. */
 
 #include <config.h>
 #include <stdlib.h>
@@ -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; 
     }