| commit | 168044811945744658d45bb05075c13b60cd7fa0 | [log] [tgz] |
|---|---|---|
| author | Petr Machata <pmachata@redhat.com> | Tue Oct 30 00:19:36 2012 +0100 |
| committer | Petr Machata <pmachata@redhat.com> | Tue Oct 30 00:19:36 2012 +0100 |
| tree | d26fcc82ff8af3bb891516b76dd028f498e49f29 | |
| parent | 2b955a5cefeab9cd409f7973837bf1d25003d8e9 [diff] [blame] |
Fix initialization of primitive types in printf.c
diff --git a/printf.c b/printf.c index 84d4a16..859e685 100644 --- a/printf.c +++ b/printf.c
@@ -135,7 +135,7 @@ 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 @@ return 0; } - infop->type = ARGTYPE_VOID; + *infop = *type_get_simple(ARGTYPE_VOID); return 0; }