64 bit fixes and minor gcc shut ups

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1656 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2007-08-12 23:24:05 +00:00
parent 5e96d5da78
commit e381dd9e4d
8 changed files with 10 additions and 11 deletions

View file

@ -164,8 +164,8 @@ int pa_scache_add_item(pa_core *c, const char *name, const pa_sample_spec *ss, c
if (idx)
*idx = e->index;
pa_log_debug("created sample \"%s\" (#%d), %d bytes with sample spec %s",
name, e->index, e->memchunk.length,
pa_log_debug("created sample \"%s\" (#%d), %lu bytes with sample spec %s",
name, e->index, (unsigned long) e->memchunk.length,
pa_sample_spec_snprint(st, sizeof(st), &e->sample_spec));
return 0;
@ -316,7 +316,6 @@ int pa_scache_play_item_by_name(pa_core *c, const char *name, const char*sink_na
return pa_scache_play_item(c, name, sink, volume);
}
const char * pa_scache_get_name_by_id(pa_core *c, uint32_t id) {
pa_scache_entry *e;
assert(c && id != PA_IDXSET_INVALID);