summaryrefslogtreecommitdiffstats
path: root/include/asn1c/asn1helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asn1c/asn1helpers.h')
-rw-r--r--include/asn1c/asn1helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asn1c/asn1helpers.h b/include/asn1c/asn1helpers.h
index d6b5e18..2cfc000 100644
--- a/include/asn1c/asn1helpers.h
+++ b/include/asn1c/asn1helpers.h
@@ -23,6 +23,6 @@ uint32_t asn1bitstr_to_u24(const BIT_STRING_t *in);
static inline void OCTET_STRING_noalloc(OCTET_STRING_t *s, const uint8_t *str, int size)
{
- s->buf = str;
+ s->buf = (uint8_t *) str;
s->size = size;
}