This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
SisMaker
/
jiffy
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
62
Wiki
Activity
Browse Source
sizeof(char) == 1 by definition
pull/184/head
John Högberg
6 years ago
committed by
Paul J. Davis
parent
830688f523
commit
4ad1eb3a6d
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
;
Write
Preview
Loading…
Cancel
Save