From 6c668cd1e02c3105662b98c6474781a181fadb62 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 14 Jul 2009 12:59:10 -0700 Subject: [PATCH] orcc: Fix backup code generation --- tools/orcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/orcc.c b/tools/orcc.c index 1ac83d9..ce7c6b6 100644 --- a/tools/orcc.c +++ b/tools/orcc.c @@ -148,7 +148,7 @@ print_defines (FILE *output) { fprintf(output, "#define ORC_CLAMP(x,a,b) ((x)<(a) ? (a) : ((x)>(b) ? (b) : (x)))\n" - "#define ORC_ABS(a) ((a)<0 ? (-a) : (a))\n" + "#define ORC_ABS(a) ((a)<0 ? -(a) : (a))\n" "#define ORC_MIN(a,b) ((a)<(b) ? (a) : (b))\n" "#define ORC_MAX(a,b) ((a)>(b) ? (a) : (b))\n" "#define ORC_SB_MAX 127\n" -- 2.7.4