clean-up; removed unnecessary field from type descriptor
diff --git a/skeletons/ANY.c b/skeletons/ANY.c
index ed529c5..1825da1 100644
--- a/skeletons/ANY.c
+++ b/skeletons/ANY.c
@@ -18,9 +18,8 @@
ANY_encode_xer,
0, /* Use generic outmost tag fetcher */
0, 0, 0, 0,
- -1, /* Both ways are fine (primitive and constructed) */
0, 0, /* No members */
- (void *)1 /* Special indicator that this is an ANY type */
+ (void *)2 /* Special indicator that this is an ANY type */
};
@@ -139,7 +138,7 @@
size_t nsize = (arg->size ? arg->size << 2 : 16) + size;
void *p = REALLOC(arg->buffer, nsize);
if(!p) return -1;
- (void *)arg->buffer = p;
+ arg->buffer = (uint8_t *)p;
arg->size = nsize;
}