update compat
[lttv.git] / genevent / genevent.c
index 6ee1928b8577cbc24573ada21095c9b222189d2c..cc2112a3872e8d797a3d6fffc50b6d29b3c1517e 100644 (file)
@@ -1287,7 +1287,7 @@ int print_type_write_fct(type_descriptor_t * td, FILE *fd, unsigned int tabs,
                                print_tabs(1, fd);
                                fprintf(fd, "/* Put source *from just after the C sequence */\n");
                                print_tabs(1, fd);
-                               fprintf(fd, "*from = obj+1;\n");
+                               fprintf(fd, "*from = (const char*)(obj+1);\n");
                                break;
                        case STRING:
                                print_tabs(1, fd);
This page took 0.024115 seconds and 4 git commands to generate.