Cast size_t to long to be more compatible with 64-bit systems.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@951 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-05-23 15:24:29 +00:00
parent 103154940d
commit 7906985d2a

View file

@ -417,7 +417,7 @@ static void fix_metrics(fd_info *i) {
i->fragment_size = 1024;
debug(__FILE__": sample spec: %s\n", pa_sample_spec_snprint(t, sizeof(t), &i->sample_spec));
debug(__FILE__": fixated metrics to %i fragments, %i bytes each.\n", i->n_fragments, i->fragment_size);
debug(__FILE__": fixated metrics to %i fragments, %li bytes each.\n", i->n_fragments, (long)i->fragment_size);
}
static void stream_request_cb(pa_stream *s, size_t length, void *userdata) {