summaryrefslogtreecommitdiff
path: root/src/adb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/adb.h')
-rw-r--r--src/adb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/adb.h b/src/adb.h
index 10b46ac..a6bd121 100644
--- a/src/adb.h
+++ b/src/adb.h
@@ -272,13 +272,14 @@ struct adb_walk_gentext {
int key_printed : 1;
};
+#define ADB_WALK_GENADB_MAX_IDB 2
#define ADB_WALK_GENADB_MAX_NESTING 32
#define ADB_WALK_GENADB_MAX_VALUES 100000
struct adb_walk_genadb {
struct adb_walk d;
struct adb db;
- struct adb idb[2];
+ struct adb idb[ADB_WALK_GENADB_MAX_IDB];
int nest, nestdb, num_vals;
struct adb_obj objs[ADB_WALK_GENADB_MAX_NESTING];
unsigned int curkey[ADB_WALK_GENADB_MAX_NESTING];