genevent fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 2 Dec 2005 22:46:56 +0000 (22:46 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 2 Dec 2005 22:46:56 +0000 (22:46 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1367 04897980-b3bd-0310-b5e0-8ef037075253

genevent-new/genevent.c

index a489165e91db5dbacd24e1911ad8cc8c1e9cc5b8..b79e4a39253f7a331cfe5f9ebea7661f4c041fea 100644 (file)
@@ -453,6 +453,7 @@ int print_type_declaration(type_descriptor_t * td, FILE *fd, unsigned int tabs,
                                                fd, tabs, basename, "")) return 1;
                        fprintf(fd, " len;\n");
                        print_tabs(1, fd);
+                       fprintf(fd, "const ");
                        if(print_type(((field_t*)td->fields.array[1])->type,
                                                fd, tabs, basename, "")) return 1;
                        fprintf(fd, " *array;\n");
This page took 0.025923 seconds and 4 git commands to generate.