Unbreak ng_source(4) for 64-bit platforms including amd64.
This commit is contained in:
parent
ae8b492be2
commit
fef1dcc92c
@ -125,8 +125,13 @@ static int ng_source_dup_mod(sc_p, struct mbuf *,
|
||||
|
||||
/* Parse type for timeval */
|
||||
static const struct ng_parse_struct_field ng_source_timeval_type_fields[] = {
|
||||
#ifdef __LP64__
|
||||
{ "tv_sec", &ng_parse_int64_type },
|
||||
{ "tv_usec", &ng_parse_int64_type },
|
||||
#else
|
||||
{ "tv_sec", &ng_parse_int32_type },
|
||||
{ "tv_usec", &ng_parse_int32_type },
|
||||
#endif
|
||||
{ NULL }
|
||||
};
|
||||
const struct ng_parse_type ng_source_timeval_type = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user