diff options
Diffstat (limited to 'src/apk_database.h')
-rw-r--r-- | src/apk_database.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/apk_database.h b/src/apk_database.h index 31f83f2..4235c56 100644 --- a/src/apk_database.h +++ b/src/apk_database.h @@ -30,7 +30,8 @@ struct apk_db_file { struct apk_db_dir_instance *diri; csum_t csum; - char filename[]; + unsigned short namelen; + char name[]; }; #define APK_DBDIRF_PROTECTED 0x0001 @@ -44,7 +45,8 @@ struct apk_db_dir { unsigned short refs; unsigned short flags; - char dirname[]; + unsigned short namelen; + char name[]; }; struct apk_db_dir_instance { |