aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/ENUMERATED.c
diff options
context:
space:
mode:
Diffstat (limited to 'skeletons/ENUMERATED.c')
-rw-r--r--skeletons/ENUMERATED.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/skeletons/ENUMERATED.c b/skeletons/ENUMERATED.c
index c51f9265..6a8b9c67 100644
--- a/skeletons/ENUMERATED.c
+++ b/skeletons/ENUMERATED.c
@@ -39,7 +39,8 @@ ENUMERATED_decode_uper(asn_codec_ctx_t *opt_codec_ctx, asn_TYPE_descriptor_t *td
asn_per_constraints_t *constraints, void **sptr, asn_per_data_t *pd) {
asn_dec_rval_t rval;
ENUMERATED_t *st = (ENUMERATED_t *)*sptr;
- long value, *vptr = &value;
+ long value;
+ void *vptr = &value;
if(!st) {
st = (ENUMERATED_t *)(*sptr = CALLOC(1, sizeof(*st)));