diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/opcode/riscv.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 2816129..7cda518 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2020-12-01 Nelson Chu <nelson.chu@sifive.com> + + * opcode/riscv.h (riscv_ext_version): + Change the version type from unsigned to int. + 2020-11-23 Nick Alcock <nick.alcock@oracle.com> * ctf-api.h: Style nit: remove () on function names in comments. diff --git a/include/opcode/riscv.h b/include/opcode/riscv.h index 2f1bc79..94a1380 100644 --- a/include/opcode/riscv.h +++ b/include/opcode/riscv.h @@ -360,8 +360,8 @@ struct riscv_ext_version { const char *name; enum riscv_isa_spec_class isa_spec_class; - unsigned int major_version; - unsigned int minor_version; + int major_version; + int minor_version; }; /* All RISC-V CSR belong to one of these classes. */ |