Browse Source

sizeof(char) == 1 by definition

john/improve-jiffy-perf
John Högberg 6 years ago
committed by Paul J. Davis
parent
commit
009618ae39
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      c_src/decoder.c

+ 1
- 1
c_src/decoder.c View File

@ -93,7 +93,7 @@ dec_new(ErlNifEnv* env)
d->len = -1;
d->i = -1;
d->st_data = (char*) enif_alloc(STACK_SIZE_INC * sizeof(char));
d->st_data = (char*) enif_alloc(STACK_SIZE_INC);
d->st_size = STACK_SIZE_INC;
d->st_top = 0;

Loading…
Cancel
Save