From f2b9a340ef143099726fb642951410e4ad793c7f Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 7 May 2013 23:49:15 +0200 Subject: [PATCH] audioop: explicit cast to fix a compiler warning --- Modules/audioop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/audioop.c b/Modules/audioop.c index 7e40bbddc6d..4f2b25f33a0 100644 --- a/Modules/audioop.c +++ b/Modules/audioop.c @@ -37,7 +37,7 @@ fbound(double val, double minval, double maxval) val = maxval; else if (val < minval + 1) val = minval; - return val; + return (int)val; }