diff options
| author | chenzizhan <[email protected]> | 2023-08-10 10:04:43 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-08-10 10:04:43 +0800 |
| commit | ae60ce24c50238e89d0b14b8786362d5e35cd760 (patch) | |
| tree | 5e3b8ea6a17f235f1081463adfb05f90c3168c75 | |
| parent | bdca40c14e22f3b9bbc0cbf64b01623ad53986ab (diff) | |
last commit incompletev4.0.3b
| -rw-r--r-- | src/fieldstat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fieldstat.c b/src/fieldstat.c index 5c09c95..e934bdb 100644 --- a/src/fieldstat.c +++ b/src/fieldstat.c @@ -196,7 +196,7 @@ int fieldstat_append_cube_to_instance(struct fieldstat *instance, struct fs_cube } if (instance->valid_cube_arr_length >= instance->max_n_cube) { instance->max_n_cube *= 2; - struct fs_fieldstat_cube **old_cube_arr = instance->cube; + struct fs_cube **old_cube_arr = instance->cube; instance->cube = calloc(instance->max_n_cube, sizeof(struct fs_cube *)); memcpy(instance->cube, old_cube_arr, sizeof(struct fs_cube *) * instance->valid_cube_arr_length); free(old_cube_arr); |
