[CLASSES]: Use uint32_t for the cu id
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
parent
3ca40af1fd
commit
30128e9d11
|
@ -237,7 +237,7 @@ static void cus__add(struct cus *self, struct cu *cu)
|
|||
list_add_tail(&cu->node, &self->cus);
|
||||
}
|
||||
|
||||
static struct cu *cu__new(unsigned int cu, const char *name)
|
||||
static struct cu *cu__new(uint32_t cu, const char *name)
|
||||
{
|
||||
struct cu *self = malloc(sizeof(*self));
|
||||
|
||||
|
@ -2016,7 +2016,7 @@ int cus__load(struct cus *self, const char *filename)
|
|||
{
|
||||
Dwarf_Off offset, last_offset, abbrev_offset;
|
||||
uint8_t addr_size, offset_size;
|
||||
unsigned int cu_id;
|
||||
uint32_t cu_id;
|
||||
size_t hdr_size;
|
||||
Dwarf *dwarf;
|
||||
int err = -1;
|
||||
|
|
|
@ -29,7 +29,7 @@ struct cu {
|
|||
struct list_head tool_list; /* To be used by tools such as ctracer */
|
||||
const char *name;
|
||||
unsigned short language;
|
||||
unsigned int id;
|
||||
uint32_t id;
|
||||
unsigned long nr_inline_expansions;
|
||||
unsigned long size_inline_expansions;
|
||||
unsigned int nr_functions_changed;
|
||||
|
|
Loading…
Reference in New Issue