Fix gen_node_support.pl for changed AclMode size

omitted from 7b378237aa, mea culpa.

Complaint and fix from Amit Langote.
This commit is contained in:
Andrew Dunstan 2022-11-25 08:55:56 -05:00
parent 7b2ccc5e03
commit 50617a9aa3
1 changed files with 2 additions and 2 deletions

View File

@ -954,7 +954,6 @@ _read${n}(void)
}
elsif ($t eq 'uint32'
|| $t eq 'bits32'
|| $t eq 'AclMode'
|| $t eq 'BlockNumber'
|| $t eq 'Index'
|| $t eq 'SubTransactionId')
@ -962,7 +961,8 @@ _read${n}(void)
print $off "\tWRITE_UINT_FIELD($f);\n";
print $rff "\tREAD_UINT_FIELD($f);\n" unless $no_read;
}
elsif ($t eq 'uint64')
elsif ($t eq 'uint64'
|| $t eq 'AclMode')
{
print $off "\tWRITE_UINT64_FIELD($f);\n";
print $rff "\tREAD_UINT64_FIELD($f);\n" unless $no_read;