diff options
| author | Brandon Low <lostlogic@rockbox.org> | 2007-11-08 18:59:22 +0000 |
|---|---|---|
| committer | Brandon Low <lostlogic@rockbox.org> | 2007-11-08 18:59:22 +0000 |
| commit | dc0f497a4fb73148ff9107cb8f8e49243ac5d3fb (patch) | |
| tree | 9aec3bebe2a93c508d3a10dda74de7612d68cd24 /apps | |
| parent | b50473ffd8c0a693d6cd2247afa2e12b1cdec675 (diff) | |
| download | rockbox-dc0f497a4fb73148ff9107cb8f8e49243ac5d3fb.zip rockbox-dc0f497a4fb73148ff9107cb8f8e49243ac5d3fb.tar.gz rockbox-dc0f497a4fb73148ff9107cb8f8e49243ac5d3fb.tar.bz2 rockbox-dc0f497a4fb73148ff9107cb8f8e49243ac5d3fb.tar.xz | |
No functional change
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15542 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/buffering.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/buffering.c b/apps/buffering.c index 0a26673..edfb8e7 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -974,8 +974,8 @@ int bufadvance(int handle_id, off_t offset) * actual amount of data available for reading. This function explicitly * does not check the validity of the input handle. It does do range checks * on size and returns a valid (and explicit) amount of data for reading */ -static struct memory_handle *prep_bufdata(int handle_id, size_t *size, - bool guardbuf_limit) +static struct memory_handle *prep_bufdata(const int handle_id, size_t *size, + const bool guardbuf_limit) { struct memory_handle *h = find_handle(handle_id); if (!h) @@ -1005,7 +1005,7 @@ static struct memory_handle *prep_bufdata(int handle_id, size_t *size, if (h->filerem > 0 && avail < *size) { /* Data isn't ready. Request buffering */ - buf_request_buffer_handle(h->id); + buf_request_buffer_handle(handle_id); /* Wait for the data to be ready */ do { |