From: compudj Date: Mon, 28 Aug 2006 19:07:12 +0000 (+0000) Subject: update genevent X-Git-Tag: v0.12.20~1430 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c07c0891d98f2d7ff5695d26db39466cb4cbb9c0;p=lttv.git update genevent git-svn-id: http://ltt.polymtl.ca/svn@2059 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent/genevent.c b/genevent/genevent.c index 6ee1928b..cc2112a3 100644 --- a/genevent/genevent.c +++ b/genevent/genevent.c @@ -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);