summaryrefslogtreecommitdiffstats
path: root/libao2
diff options
context:
space:
mode:
authoradrian <adrian@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-11 20:53:57 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:44 +0200
commit1b023f8d7b7491f7d05565cf7bf3ec6d46624da8 (patch)
tree7a9b2b70e16d2f3df0848d73f1c4093616d17692 /libao2
parent5b8366e05113ae8c146c46b76760f2f85912c0e6 (diff)
downloadmpv-1b023f8d7b7491f7d05565cf7bf3ec6d46624da8.tar.bz2
mpv-1b023f8d7b7491f7d05565cf7bf3ec6d46624da8.tar.xz
ao_coreaudio: Fix printf specifiers
Fixes warnings: libao2/ao_coreaudio.c:203: warning: format '%lu' expects type 'long unsigned int', but argument n has type 'UInt32' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31712 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2')
-rw-r--r--libao2/ao_coreaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libao2/ao_coreaudio.c b/libao2/ao_coreaudio.c
index dffab4dd2e..39447744b3 100644
--- a/libao2/ao_coreaudio.c
+++ b/libao2/ao_coreaudio.c
@@ -200,7 +200,7 @@ Float32 vol;
static void print_format(int lev, const char* str, const AudioStreamBasicDescription *f){
uint32_t flags=(uint32_t) f->mFormatFlags;
- ao_msg(MSGT_AO,lev, "%s %7.1fHz %lubit [%c%c%c%c][%lu][%lu][%lu][%lu][%lu] %s %s %s%s%s%s\n",
+ ao_msg(MSGT_AO,lev, "%s %7.1fHz %"PRIu32"bit [%c%c%c%c][%"PRIu32"][%"PRIu32"][%"PRIu32"][%"PRIu32"][%"PRIu32"] %s %s %s%s%s%s\n",
str, f->mSampleRate, f->mBitsPerChannel,
(int)(f->mFormatID & 0xff000000) >> 24,
(int)(f->mFormatID & 0x00ff0000) >> 16,
@@ -302,7 +302,7 @@ int b_alive;
goto err_out;
}
- ao_msg(MSGT_AO,MSGL_V, "got default audio output device ID: %#lx Name: %s\n", devid_def, psz_name );
+ ao_msg(MSGT_AO,MSGL_V, "got default audio output device ID: %"PRIu32" Name: %s\n", devid_def, psz_name );
if (AudioDeviceSupportsDigital(devid_def))
{