Skip to content
Snippets Groups Projects
Commit e64460f6 authored by Lev Walkin's avatar Lev Walkin
Browse files

portability

parent 6fc5660f
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ check(int size) { ...@@ -58,7 +58,7 @@ check(int size) {
assert(erval.encoded == buf_off); assert(erval.encoded == buf_off);
assert(buf_off > size); assert(buf_off > size);
rval = ber_decode(&asn1_DEF_OCTET_STRING, &nos, buf, buf_off); rval = ber_decode(&asn1_DEF_OCTET_STRING, (void **)&nos, buf, buf_off);
assert(rval.code == RC_OK); assert(rval.code == RC_OK);
assert(rval.consumed == buf_off); assert(rval.consumed == buf_off);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment