]> granicus.if.org Git - graphviz/commit
gvpack: cast assignment of string literal to mutable variable
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Apr 2022 00:11:34 +0000 (17:11 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:48 +0000 (19:12 -0700)
commit4e13dd92c869a8107cb4f274502809e2252af8fa
tree176815412400c86bb386a018df80d9f5bb776817
parent0654245850b0c64a9487c5ea0f322dfb461318b0
gvpack: cast assignment of string literal to mutable variable

This pre-emptively squashes an upcoming warning when converting this file to C++
which otherwise fails the CMake build:

  cmd/tools/gvpack.cpp:77:22: error: ISO C++11 does not allow conversion from
    string literal to 'char *' [-Werror,-Wwritable-strings]

Gitlab: #2154
cmd/tools/gvpack.c