From 06f9a35d7cc146e3ac28b6a32e330a93c20354e9 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Wed, 19 Feb 2014 14:45:30 -0500 Subject: [PATCH] Change (const jbyte*) to (jbyte*) to appease older compiler. --- tclpkg/gv/gv.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tclpkg/gv/gv.i b/tclpkg/gv/gv.i index 2040a4a08..e77fa9ad2 100644 --- a/tclpkg/gv/gv.i +++ b/tclpkg/gv/gv.i @@ -42,7 +42,7 @@ } %typemap(out) char* renderresult { $result = jenv->NewByteArray (sz1); - jenv->SetByteArrayRegion ($result, 0, sz1, (const jbyte*)$1); + jenv->SetByteArrayRegion ($result, 0, sz1, (jbyte*)$1); free ($1); } #endif -- 2.40.0