summaryrefslogtreecommitdiff
path: root/source3/aparser/templates/prs_uint8s_fixed.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'source3/aparser/templates/prs_uint8s_fixed.tpl')
-rw-r--r--source3/aparser/templates/prs_uint8s_fixed.tpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/aparser/templates/prs_uint8s_fixed.tpl b/source3/aparser/templates/prs_uint8s_fixed.tpl
index f752fa6c84..26597f419f 100644
--- a/source3/aparser/templates/prs_uint8s_fixed.tpl
+++ b/source3/aparser/templates/prs_uint8s_fixed.tpl
@@ -1,2 +1 @@
- if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*@ARRAY_LEN@)) goto fail;
- if (!io_uint8s("@ELEM@", ps, depth+1, &il->@ELEM@, @ARRAY_LEN@, @FLAGS@)) goto fail;
+ if (!io_uint8s_fixed("@ELEM@", ps, depth+1, il->@ELEM@, @ARRAY_LEN@, @FLAGS@)) goto fail;