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;
 }