Fix warning

This commit is contained in:
msvensson@pilot.(none) 2007-08-08 09:31:45 +02:00
parent 7c0341376d
commit 8d8123341b

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");