From d512564547f6a036e76e8fce4fe28b000b4bf019 Mon Sep 17 00:00:00 2001
From: Lev Walkin <vlm@lionet.info>
Date: Mon, 14 Feb 2005 20:08:00 +0000
Subject: [PATCH] C++

---
 skeletons/OCTET_STRING.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/skeletons/OCTET_STRING.c b/skeletons/OCTET_STRING.c
index a9c591d9..43fe5db2 100644
--- a/skeletons/OCTET_STRING.c
+++ b/skeletons/OCTET_STRING.c
@@ -1103,7 +1103,7 @@ OCTET_STRING__decode_xer(asn_codec_ctx_t *opt_codec_ctx,
 		(void *struct_ptr, void *chunk_buf, size_t chunk_size,
 			int have_more)
 ) {
-	OCTET_STRING_t *st = *sptr;
+	OCTET_STRING_t *st = (OCTET_STRING_t *)*sptr;
 	asn_OCTET_STRING_specifics_t *specs = td->specifics
 				? (asn_OCTET_STRING_specifics_t *)td->specifics
 				: &asn_DEF_OCTET_STRING_specs;
-- 
GitLab