aboutsummaryrefslogtreecommitdiff
path: root/hw/sh7750_regnames.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-21 18:11:34 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-21 18:11:34 +0000
commitb9d38e9510b38a8c101fa50cbd6f75d9eff61261 (patch)
treec267953d3408328a7d262b95a9fb95641e285525 /hw/sh7750_regnames.c
parent52d946208e9cc2e958b4d3ad18914a51bdbe197a (diff)
Fix Sparse warnings about using plain integer as NULL pointer
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sh7750_regnames.c')
-rw-r--r--hw/sh7750_regnames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sh7750_regnames.c b/hw/sh7750_regnames.c
index d4b519da9e..5a5a2d80de 100644
--- a/hw/sh7750_regnames.c
+++ b/hw/sh7750_regnames.c
@@ -81,7 +81,7 @@ static regname_t regnames[] = {
REGNAME(SH7750_BCR3_A7)
REGNAME(SH7750_BCR4_A7)
REGNAME(SH7750_SDMR2_A7)
- REGNAME(SH7750_SDMR3_A7) {(uint32_t) - 1, 0}
+ REGNAME(SH7750_SDMR3_A7) {(uint32_t) - 1, NULL}
};
const char *regname(uint32_t addr)