aboutsummaryrefslogtreecommitdiff
path: root/src/type_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/type_handler.c')
-rw-r--r--src/type_handler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/type_handler.c b/src/type_handler.c
index 7089a31..0c7bc67 100644
--- a/src/type_handler.c
+++ b/src/type_handler.c
@@ -4,7 +4,7 @@
int jatom2atom(JNIEnv *env, jobject jatom, t_atom *atom) {
int type = (*env)->GetIntField(env, jatom, pdjCaching.FIDAtom_type);
- const jbyte *symbolValue;
+ const char *symbolValue;
jstring value;
switch(type) {
@@ -121,7 +121,7 @@ jobjectArray atoms2jatoms(JNIEnv *env, int argc, t_atom *argv) {
t_symbol *jstring2symbol(JNIEnv *env, jstring strvalue) {
- const jbyte *tmp = (*env)->GetStringUTFChars(env, strvalue, NULL);
+ const char *tmp = (*env)->GetStringUTFChars(env, strvalue, NULL);
t_symbol *value;
JASSERT(tmp);