Stefan Huehner schrieb:
Remove some casts which discard the const from strings when not needed.
Found by compiling with -Wwrite-strings and -Wcast-qual

2008-01-09 Stefan Huehner <stefan at huehner.org>
        native/jni/java-io/java_io_VMObjectStreamClass.c,
        native/jni/java-lang/java_lang_VMDouble.c,
        native/jni/java-net/java_net_VMInetAddress.c:
        don't discard const by casting (const char *) to
        (char *) when it's not needed.
looks fine to me, too.

cheers,
dalibor topic

Reply via email to