eolian: warning fix

This commit is contained in:
Daniel Kolesa 2014-07-15 20:00:59 +01:00
parent d0e0576f0b
commit 8716112a43
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ database_type_print(Eolian_Type *tp)
if (tp->is_const)
printf("const(");
if (tp->type == EOLIAN_TYPE_REGULAR)
printf(tp->name);
printf("%s", tp->name);
else if (tp->type == EOLIAN_TYPE_VOID)
printf("void");
else if (tp->type == EOLIAN_TYPE_REGULAR_STRUCT)