case: Introduce new functions for numbers and substrings in cases.
[pspp] / src / language / stats / flip.c
index 216c9d7921c78a15a9a4a06af201178592bae075..993f8975a629d6beae47ba95b7fed7f0c0cf2747 100644 (file)
@@ -440,7 +440,7 @@ flip_casereader_read (struct casereader *reader, void *flip_)
           flip->error = true;
           return NULL;
         }
-      case_data_rw_idx (c, i + 1)->f = in;
+      *case_num_rw_idx (c, i + 1) = in;
     }
 
   flip->cases_read++;