]> granicus.if.org Git - graphviz/commit
Change cast of strcmp in bsearch.
authorErwin Janssen <erwinjanssen@outlook.com>
Fri, 9 Sep 2016 22:02:58 +0000 (00:02 +0200)
committerErwin Janssen <erwinjanssen@outlook.com>
Fri, 9 Sep 2016 22:02:58 +0000 (00:02 +0200)
commita155276b30da0619979d0b7d5ae22cb05b9b7d16
tree06d789ed17b3ca7d9bae5a08cc729fe130fe4886
parente653d8054fe3c2313944a2a88f3ad7c374bd9b21
Change cast of strcmp in bsearch.

Casting `strcmp` to `__compar_fn_t` doesn't work on Windows, the build
fails. Instead, cast `strcmp` to the required function type:
`(int(*)(const void*, const void*)`
lib/gvc/gvrender.c