gdb: Make use of 'add_info' to create info sub-commands.
[deliverable/binutils-gdb.git] / gdb / opencl-lang.c
index 6583d158d56e7bc6217ebbd5a01c99b692d9cd32..3d17ce4c15250112c775f037bd979487adea3eac 100644 (file)
@@ -69,7 +69,7 @@ static struct gdbarch_data *opencl_type_data;
 static struct type **
 builtin_opencl_type (struct gdbarch *gdbarch)
 {
-  return gdbarch_data (gdbarch, opencl_type_data);
+  return (struct type **) gdbarch_data (gdbarch, opencl_type_data);
 }
 
 /* Returns the corresponding OpenCL vector type from the given type code,
This page took 0.023081 seconds and 4 git commands to generate.