From: Tomas Vanek Date: Wed, 17 Aug 2022 08:42:47 +0000 (+0200) Subject: flash/nor/nrf5: don't misuse uint32_t for refcount X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=50f80530c55a044be88bb90a574959e920e7be82;p=fw%2Fopenocd flash/nor/nrf5: don't misuse uint32_t for refcount Change-Id: I016fc9ae037fae75528850d35da059d1db5a4d45 Signed-off-by: Tomas Vanek Reviewed-on: https://review.openocd.org/c/openocd/+/7131 Tested-by: jenkins Reviewed-by: Antonio Borneo --- diff --git a/src/flash/nor/nrf5.c b/src/flash/nor/nrf5.c index 23b221cb3..9d2565b01 100644 --- a/src/flash/nor/nrf5.c +++ b/src/flash/nor/nrf5.c @@ -136,7 +136,7 @@ struct nrf5_device_spec { }; struct nrf5_info { - uint32_t refcount; + unsigned int refcount; struct nrf5_bank { struct nrf5_info *chip;