changeset 2250:956db0095f82

Change struct member name.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jun 2019 21:39:08 +0300
parents 6ba4aed198e4
children d736ff74663b
files tools/data2inc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/data2inc.c	Sat Jun 15 20:20:57 2019 +0300
+++ b/tools/data2inc.c	Sat Jun 15 21:39:08 2019 +0300
@@ -24,7 +24,7 @@
     char *desc;
     char *fexts[SET_MAX_FEXTS];
 
-    char *type;
+    char *defDataType;
 
     void (*writeHeader) (FILE *fh, const char *name);
     void (*writeDecl) (FILE *fh, const size_t len, const char *name);
@@ -417,7 +417,7 @@
 
     // Set some option defaults
     if (optDataType == NULL)
-        optDataType = setFormat->type;
+        optDataType = setFormat->defDataType;
 
     // Open the files
     if (optInFilename == NULL)