input/csv: Fix size_t printing.

This commit is contained in:
Bert Vermeulen 2014-10-04 02:24:41 +02:00
parent 026d6b2ff6
commit 4ab01c3564
1 changed files with 1 additions and 1 deletions

View File

@ -557,7 +557,7 @@ static int initial_parse(const struct sr_input *in, GString *buf)
if (inc->header && inc->multi_column_mode && strlen(columns[i]))
g_string_assign(channel_name, columns[i]);
else
g_string_printf(channel_name, "%lu", i);
g_string_printf(channel_name, "%zu", i);
ch = sr_channel_new(i, SR_CHANNEL_LOGIC, TRUE, channel_name->str);
in->sdi->channels = g_slist_append(in->sdi->channels, ch);
}