Skip to content

Commit f860412

Browse files
committed
We need 64b
1 parent 3c54db3 commit f860412

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/comp_types/comp_archetype.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ class CompArchetype {
7575
assert(tstamp == 0);
7676
data_sz = max_var_id +1 + max_cl_id + 1;
7777
debug_print("Creating new data[] of size: " << data_sz << " and zeroing it.");
78-
raw_data = new uint32_t[data_sz];
79-
memset(raw_data, 0, data_sz * sizeof(uint32_t));
78+
raw_data = new uint64_t[data_sz];
79+
memset(raw_data, 0, data_sz * sizeof(uint64_t));
8080
v_data = raw_data;
8181
cl_data = raw_data + max_var_id + 1;
8282
clear_data();
@@ -95,12 +95,12 @@ class CompArchetype {
9595
uint32_t num_long_cls = 0;
9696
uint32_t num_bin_cls = 0;
9797
private:
98-
uint32_t tstamp = 0;
98+
uint64_t tstamp = 0;
9999
Comp const* super_comp_ptr;
100100
StackLevel *stack_lvl_ptr;
101-
uint32_t* raw_data = nullptr;
102-
uint32_t* cl_data = nullptr;
103-
uint32_t* v_data = nullptr;
101+
uint64_t* raw_data = nullptr;
102+
uint64_t* cl_data = nullptr;
103+
uint64_t* v_data = nullptr;
104104
uint32_t data_sz = 0;
105105
};
106106

0 commit comments

Comments
 (0)