The attached patch switches a few function/method signatures and corresponding parts of the code to use const char *
instead of char*
. The result is (slightly) fewer warning messages when compiling with GCC 6.1.1.
Attachments into the Java code raise more of the same warnings, though I'm a little afraid to touch those parts of the code.