Fixed exported C syntax
[pspp] / src / file-type.c
index 5751fd40a280d81f14108d6154b30166e5438a30..ff97f8dbbfbfd868c7adcd72c10672fb3a32bf1b 100644 (file)
@@ -74,8 +74,7 @@ struct record_type
     int ft, lt;                        /* First, last transformation index. */
   };                           /* record_type */
 
-/* Represents a FILE TYPE input program.  Does not contain a
-   trns_header because it's never submitted as a transformation. */
+/* Represents a FILE TYPE input program. */
 struct file_type_pgm
   {
     int type;                  /* One of the FTY_* constants. */
@@ -445,7 +444,7 @@ cmd_record_type (void)
          if (rct->nv >= mv)
            {
              mv += 16;
-             rct->v = xrealloc (rct->v, mv * sizeof *rct->v);
+             rct->v = xnrealloc (rct->v, mv, sizeof *rct->v);
            }
 
          if (formats[fty->record.fmt].cat & FCAT_STRING)