[libclc] 91/291: Parenthesize arguments for mad_hi

Andreas Beckmann anbe at moszumanska.debian.org
Tue Sep 8 10:53:37 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository libclc.

commit 89e5b1433b726d833dc23bd8b1869759b3716ee5
Author: Aaron Watry <awatry at gmail.com>
Date:   Mon Sep 9 14:36:21 2013 +0000

    Parenthesize arguments for mad_hi
    
    Thanks to Jordon Rose <jordan_rose at apple.com> for pointing this out.
    
    git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@190310 91177308-0d34-0410-b5e6-96231b3b80d8
---
 generic/include/clc/integer/mad_hi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generic/include/clc/integer/mad_hi.h b/generic/include/clc/integer/mad_hi.h
index e67c988..863ce92 100644
--- a/generic/include/clc/integer/mad_hi.h
+++ b/generic/include/clc/integer/mad_hi.h
@@ -1 +1 @@
-#define mad_hi(a, b, c) (mul_hi(a,b)+c)
+#define mad_hi(a, b, c) (mul_hi((a),(b))+(c))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git



More information about the Pkg-opencl-commits mailing list