summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2012-05-29 00:42:21 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2012-05-29 00:42:21 +0000
commit2f74bd866fc11c18779922f2f4d748bffeded153 (patch)
tree960fd7b192b6e2bf18dfa4c87841bd67c0ed9409
parent117180439615bd06e7a536e61270af9ea6b1406e (diff)
Fix typo in double precision case.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@157597 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--generic/include/clc/convert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/include/clc/convert.h b/generic/include/clc/convert.h
index 0d45891..a7ae94a 100644
--- a/generic/include/clc/convert.h
+++ b/generic/include/clc/convert.h
@@ -52,7 +52,7 @@ _CLC_CONVERT_DECL(float, float, _sat)
#ifdef cl_khr_fp64
#define _CLC_VECTOR_CONVERT_FROM(FROM_TYPE, SUFFIX) \
_CLC_VECTOR_CONVERT_FROM1(FROM_TYPE, SUFFIX) \
- _CLC_VECTOR_CONVERT(FROM_TYPE, double, SUFFIX)
+ _CLC_VECTOR_CONVERT_DECL(FROM_TYPE, double, SUFFIX)
#else
#define _CLC_VECTOR_CONVERT_FROM(FROM_TYPE, SUFFIX) \
_CLC_VECTOR_CONVERT_FROM1(FROM_TYPE, SUFFIX)