test program, flatdb tested
[tedtools.git] / flatdb.h
index 5130258..5c3a4da 100644 (file)
--- a/flatdb.h
+++ b/flatdb.h
@@ -41,7 +41,7 @@ typedef struct {
 
 typedef struct {
        size_t  length;
-       char    *data;
+       char    data[1];
 } FDBRecord;
 
 #define RECHDRSZ       (sizeof(size_t))