Fix warning

This commit is contained in:
unknown 2007-08-08 09:31:45 +02:00
parent 26e4ea620b
commit 79b0f8d30d

View file

@ -663,7 +663,7 @@ static void show_warnings_before_error(MYSQL* mysql)
for(i= 0; i < num_fields; i++)
{
fprintf(stderr, "%.*s ", lengths[i],
fprintf(stderr, "%.*s ", (int)lengths[i],
row[i] ? row[i] : "NULL");
}
fprintf(stderr, "\n");