diff options
| author | BALATON Zoltan | 2021-10-29 23:02:09 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé | 2021-10-30 18:39:37 +0200 |
| commit | 12201fe38a592695eea647c9600d08a4622c1431 (patch) | |
| tree | 16b832e10f1f345bc21434483a1cb688c9340a11 /include | |
| parent | hw/intc/sh_intc: Remove excessive parenthesis (diff) | |
| download | qemu-12201fe38a592695eea647c9600d08a4622c1431.tar.gz qemu-12201fe38a592695eea647c9600d08a4622c1431.tar.xz qemu-12201fe38a592695eea647c9600d08a4622c1431.zip | |
hw/intc/sh_intc: Use array index instead of pointer arithmetics
Address of element i is one word thus clearer than array + i.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <f49c9b1dee1fcaf374b092d862a6821907d5fcdc.1635541329.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
