X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fstr9x.c;h=828fad3cd40f9c0163552e97e2b1190d55d1bcc6;hb=f876d5e9c769a288faa7fd14b7bf373363542aab;hp=c6c366e9ab862c39e1d98079a7a9347f0e0a8fc1;hpb=c18947b947064e7eceed8047c42d4c8dfd8ae964;p=fw%2Fopenocd diff --git a/src/flash/str9x.c b/src/flash/str9x.c index c6c366e9a..828fad3cd 100644 --- a/src/flash/str9x.c +++ b/src/flash/str9x.c @@ -183,7 +183,7 @@ static int str9x_protect_check(struct flash_bank_s *bank) int i; u32 adr; u32 status = 0; - u16 hstatus = 0; + uint16_t hstatus = 0; if (bank->target->state != TARGET_HALTED) {