diff options
Diffstat (limited to 'src/core/icd.cpp')
-rw-r--r-- | src/core/icd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/icd.cpp b/src/core/icd.cpp index 75b3815..6495501 100644 --- a/src/core/icd.cpp +++ b/src/core/icd.cpp @@ -177,7 +177,7 @@ clIcdGetPlatformIDsKHR(cl_uint num_entries, /*------------------------------------------------------------------------- * Only one "default" platform *------------------------------------------------------------------------*/ - if (platforms != 0) *platforms = &the_platform; + if (platforms != 0) *platforms = (cl_platform_id) &the_platform::Instance(); return CL_SUCCESS; } |