]> git.gag.com Git - fw/openocd/blobdiff - src/flash/nor/nrf5.c
flash/nor/nrf5: don't misuse uint32_t for refcount
[fw/openocd] / src / flash / nor / nrf5.c
index 23b221cb336fcf72e38eb37cda0995f61595a0a1..9d2565b0100ec540dc1595c7417db1a70d5be74f 100644 (file)
@@ -136,7 +136,7 @@ struct nrf5_device_spec {
 };
 
 struct nrf5_info {
-       uint32_t refcount;
+       unsigned int refcount;
 
        struct nrf5_bank {
                struct nrf5_info *chip;