cast ssize_t to long

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26033 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-05-14 22:12:57 +00:00
parent db42781ca8
commit 84cd3763bd

View file

@ -686,7 +686,7 @@ static bool buffer_handle(int handle_id)
stop = true; stop = true;
DEBUGF( "%s(): Preventing handle corruption: h1.id:%d h2.id:%d" DEBUGF( "%s(): Preventing handle corruption: h1.id:%d h2.id:%d"
" copy_n:%lu overlap:%ld h1.filerem:%lu\n", __func__, " copy_n:%lu overlap:%ld h1.filerem:%lu\n", __func__,
h->id, h->next->id, (unsigned long)copy_n, overlap, h->id, h->next->id, (unsigned long)copy_n, (long)overlap,
(unsigned long)h->filerem); (unsigned long)h->filerem);
copy_n -= overlap; copy_n -= overlap;
} }