aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2009-09-02 18:18:04 +0300
committermalc <av1474@comtv.ru>2009-09-02 16:46:13 +0400
commitf9c7b77c8ea9ef828da280d4fbf5fef71ca71497 (patch)
tree6cf358dd452470d4ac5bfced54029529e7899497 /audio
parent9902571dcd999d3c2ce739eda1b7624bd8adda8d (diff)
Fix warning on x86_64
audio/esdaudio.c: In function 'qesd_thread_out': audio/esdaudio.c:136: error: format '%d' expects type 'int', but argument 3 has type 'ssize_t' audio/esdaudio.c: In function 'qesd_thread_in': audio/esdaudio.c:366: error: format '%d' expects type 'int', but argument 3 has type 'ssize_t' Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio')
-rw-r--r--audio/esdaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/esdaudio.c b/audio/esdaudio.c
index b61ee7f68b..90a8a7a689 100644
--- a/audio/esdaudio.c
+++ b/audio/esdaudio.c
@@ -131,7 +131,7 @@ static void *qesd_thread_out (void *arg)
int wsamples = written >> hw->info.shift;
int wbytes = wsamples << hw->info.shift;
if (wbytes != written) {
- dolog ("warning: Misaligned write %d (requested %d), "
+ dolog ("warning: Misaligned write %d (requested %zd), "
"alignment %d\n",
wbytes, written, hw->info.align + 1);
}
@@ -361,7 +361,7 @@ static void *qesd_thread_in (void *arg)
int rsamples = nread >> hw->info.shift;
int rbytes = rsamples << hw->info.shift;
if (rbytes != nread) {
- dolog ("warning: Misaligned write %d (requested %d), "
+ dolog ("warning: Misaligned write %d (requested %zd), "
"alignment %d\n",
rbytes, nread, hw->info.align + 1);
}