From c07c0891d98f2d7ff5695d26db39466cb4cbb9c0 Mon Sep 17 00:00:00 2001 From: compudj Date: Mon, 28 Aug 2006 19:07:12 +0000 Subject: [PATCH] update genevent git-svn-id: http://ltt.polymtl.ca/svn@2059 04897980-b3bd-0310-b5e0-8ef037075253 --- genevent/genevent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1