]> granicus.if.org Git - graphviz/commitdiff
apply fix suggested in b1787 for compilation problem on AIX 5.3
authorellson <devnull@localhost>
Tue, 13 Oct 2009 14:22:50 +0000 (14:22 +0000)
committerellson <devnull@localhost>
Tue, 13 Oct 2009 14:22:50 +0000 (14:22 +0000)
lib/gvc/gvdevice.c

index dfeefa052cd388b79121c424ce21cfffdc375451..dd5800e8d1faa0b29c6b2a236a6890817cd5c0d3 100644 (file)
@@ -159,9 +159,9 @@ void gvdevice_initialize(GVJ_t * job)
 #ifdef HAVE_LIBZ
        z_stream *z = &z_strm;
 
-       z->zalloc = (alloc_func)0;
-       z->zfree = (free_func)0;
-       z->opaque = (voidpf)0;
+       z->zalloc = 0;
+       z->zfree = 0;
+       z->opaque = 0;
        z->next_in = NULL;
        z->next_out = NULL;
        z->avail_in = 0;