diff options
author | Petr Machata <pmachata@redhat.com> | 2012-10-30 00:19:36 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-10-30 00:19:36 +0100 |
commit | 168044811945744658d45bb05075c13b60cd7fa0 (patch) | |
tree | d26fcc82ff8af3bb891516b76dd028f498e49f29 /printf.c | |
parent | 2b955a5cefeab9cd409f7973837bf1d25003d8e9 (diff) | |
download | ltrace-168044811945744658d45bb05075c13b60cd7fa0.tar.gz |
Fix initialization of primitive types in printf.c
Diffstat (limited to 'printf.c')
-rw-r--r-- | printf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -135,7 +135,7 @@ form_next_param(struct param_enum *self, return -1; } - len->type.type = ARGTYPE_LONG; + len->type = *type_get_simple(ARGTYPE_LONG); long l; if (self->future_length != NULL) { @@ -326,7 +326,7 @@ param_printf_next(struct param_enum *self, struct arg_type_info *infop, return 0; } - infop->type = ARGTYPE_VOID; + *infop = *type_get_simple(ARGTYPE_VOID); return 0; } |