Commit 290b4d69 authored by Lev Walkin's avatar Lev Walkin
parent a93d9971
...@@ -918,7 +918,7 @@ asn_imax2INTEGER(INTEGER_t *st, intmax_t value) { ...@@ -918,7 +918,7 @@ asn_imax2INTEGER(INTEGER_t *st, intmax_t value) {
return -1; return -1;
} }
buf = (uint8_t *)MALLOC(sizeof(value)); buf = (uint8_t *)(long *)MALLOC(sizeof(value));
if(!buf) return -1; if(!buf) return -1;
if(*(char *)&littleEndian) { if(*(char *)&littleEndian) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment