aboutsummaryrefslogtreecommitdiff
path: root/src/optimize.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/optimize.c')
-rw-r--r--src/optimize.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/optimize.c b/src/optimize.c
index a79299e..7929407 100644
--- a/src/optimize.c
+++ b/src/optimize.c
@@ -8,19 +8,20 @@
#include <assert.h>
#include <stdlib.h>
+#include <hash.h>
#include <log.h>
#include <optimize.h>
#include <pqueue.h>
struct tree_tracker {
- uint32_t hash;
+ hash_t hash;
struct tree *tree;
int count; // reference/occurrence count
size_t position; // in queue
};
struct hash_to_tree {
- uint32_t hash;
+ hash_t hash;
struct tree *tree;
};