]> granicus.if.org Git - graphviz/commitdiff
Fix warning about const. If anyone wants to do the work necessary to
authorerg <devnull@localhost>
Fri, 3 Oct 2008 15:22:12 +0000 (15:22 +0000)
committererg <devnull@localhost>
Fri, 3 Oct 2008 15:22:12 +0000 (15:22 +0000)
fix all the warnings, feel free.

lib/common/emit.c

index 3fedcdacc6b535d38834ba686bb911999b5d4799..c60d3d6075af2fa94165273a44e82c936a0aabe7 100644 (file)
@@ -2887,7 +2887,7 @@ int gvRenderJobs (GVC_t * gvc, graph_t * g)
                /* Show_boxes is not defined, if at all, 
                  * until splines are generated in dot 
                  */
-           job->common->show_boxes = Show_boxes; 
+           job->common->show_boxes = (const char**)Show_boxes; 
 #endif
            emit_graph(job, g);
        }