changeset 2514:bad05467e8e0

A numeric #define with an expression not enclosed in parentheses is dangerous.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 02 Apr 2008 23:05:53 +0300
parents a4629703edc3
children e732490b4dbf
files src/madplug/decoder.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/madplug/decoder.c	Wed Apr 02 23:02:09 2008 +0300
+++ b/src/madplug/decoder.c	Wed Apr 02 23:05:53 2008 +0300
@@ -28,7 +28,7 @@
 #include "plugin.h"
 #include "input.h"
 
-#define BUFFER_SIZE 16*1024
+#define BUFFER_SIZE (16*1024)
 #define N_AVERAGE_FRAMES 10
 
 void