]> granicus.if.org Git - graphviz/commit
gvpack: cast assignment of string literal to 'rhs'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 14 Apr 2022 00:21:39 +0000 (17:21 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 02:12:48 +0000 (19:12 -0700)
commitd947ff2d2b2b057993f1611075c218fbbb1e11bc
tree77c26baa92792e60248ec6789df0a448ef947633
parentc9e5d7cd7ed01c05b4c1925761ee58c395b7d773
gvpack: cast assignment of string literal to 'rhs'

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

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

Gitlab: #2154
cmd/tools/gvpack.c