X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fimage.h;fp=src%2Ftarget%2Fimage.h;h=765d29022f0ea493e360d405e97da1957301cccb;hp=9907a5f3fbca180b080d46eae257632b5d4f07a2;hb=73746d78b7bd582bab26cebdcf78299b8da99a62;hpb=6dbfdcd00f190b79f24a7c231137fb5eea52bc95 diff --git a/src/target/image.h b/src/target/image.h index 9907a5f3fb..765d29022f 100644 --- a/src/target/image.h +++ b/src/target/image.h @@ -55,11 +55,11 @@ struct imagesection { struct image { enum image_type type; /* image type (plain, ihex, ...) */ void *type_private; /* type private data */ - int num_sections; /* number of sections contained in the image */ + unsigned int num_sections; /* number of sections contained in the image */ struct imagesection *sections; /* array of sections */ - int base_address_set; /* whether the image has a base address set (for relocation purposes) */ + bool base_address_set; /* whether the image has a base address set (for relocation purposes) */ long long base_address; /* base address, if one is set */ - int start_address_set; /* whether the image has a start address (entry point) associated */ + bool start_address_set; /* whether the image has a start address (entry point) associated */ uint32_t start_address; /* start address, if one is set */ };