1
0
mirror of https://github.com/termux/termux-app synced 2024-06-25 10:37:06 +00:00

Use jint as return value from native function

This silences an error from the Android Studio lint.
This commit is contained in:
Fredrik Fornwall 2018-11-08 22:28:37 +01:00
parent af445f9618
commit 095ed8b54f

View File

@ -194,7 +194,7 @@ JNIEXPORT void JNICALL Java_com_termux_terminal_JNI_setPtyUTF8Mode(JNIEnv* TERMU
}
}
JNIEXPORT int JNICALL Java_com_termux_terminal_JNI_waitFor(JNIEnv* TERMUX_UNUSED(env), jclass TERMUX_UNUSED(clazz), jint pid)
JNIEXPORT jint JNICALL Java_com_termux_terminal_JNI_waitFor(JNIEnv* TERMUX_UNUSED(env), jclass TERMUX_UNUSED(clazz), jint pid)
{
int status;
waitpid(pid, &status, 0);