From 660f11be541813be5f09fbaf44d8e7c6d5a5bbfe Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Fri, 31 Jul 2009 21:16:51 +0000 Subject: Fix Sparse warnings: "Using plain integer as NULL pointer" Signed-off-by: Blue Swirl --- audio/ossaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/ossaudio.c') diff --git a/audio/ossaudio.c b/audio/ossaudio.c index 0236c2efaf..bb727d3de6 100644 --- a/audio/ossaudio.c +++ b/audio/ossaudio.c @@ -481,7 +481,7 @@ static int oss_init_out (HWVoiceOut *hw, struct audsettings *as) oss->mmapped = 0; if (conf.try_mmap) { oss->pcm_buf = mmap ( - 0, + NULL, hw->samples << hw->info.shift, PROT_READ | PROT_WRITE, MAP_SHARED, -- cgit v1.2.1