|
@@ -941,7 +941,8 @@ static int event_read_fields(struct event *event, struct format_field **fields)
|
|
if (read_expect_type(EVENT_ITEM, &token))
|
|
if (read_expect_type(EVENT_ITEM, &token))
|
|
goto fail;
|
|
goto fail;
|
|
|
|
|
|
- /* add signed type */
|
|
|
|
|
|
+ if (strtoul(token, NULL, 0))
|
|
|
|
+ field->flags |= FIELD_IS_SIGNED;
|
|
|
|
|
|
free_token(token);
|
|
free_token(token);
|
|
if (read_expected(EVENT_OP, ";") < 0)
|
|
if (read_expected(EVENT_OP, ";") < 0)
|