X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/blobdiff_plain/e80a6f5e0540d9e10ee957240e6f5b3faaa54021..44b53e7b789fa481a19db83e52cb3f15f0d90e85:/orte/libjorte/JIPAddressToString.c diff --git a/orte/libjorte/JIPAddressToString.c b/orte/libjorte/JIPAddressToString.c index ffc7c01..1ef829c 100644 --- a/orte/libjorte/JIPAddressToString.c +++ b/orte/libjorte/JIPAddressToString.c @@ -1,8 +1,8 @@ /* IPAdressToString.c */ /** * This code provides conversion between JAVA a C environments. - * The C functions are calling here and results are send to JAVA - * native functions. It uses the header pregenerated by JAVA + * The C functions are calling here and results are send to JAVA + * native functions. It uses the header pregenerated by JAVA * (by command 'javah -jni class_with_native_function') * * @author Lukas Pokorny (lukas_pokorny@centrum.cz) @@ -35,13 +35,13 @@ /* native function - prototype declared in pregenerated header */ JNIEXPORT jstring JNICALL Java_org_ocera_orte_tools_JORTEConversions_IPAddressToString -(JNIEnv *env, jclass class, jlong long_ipAddr) + (JNIEnv *env, jclass class, jlong long_ipAddr) { char buff[16]; IPAddress ip; // conversion between data types - ip = (IPAddress) long_ipAddr; + ip = (IPAddress)long_ipAddr; // call the original liborte function IPAddressToString(ip, buff); // send the result to JAVA Environment