Skip to content

Commit

Permalink
ofxAndroidUtils: fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
arturoc committed May 28, 2012
1 parent cb53e30 commit 4491064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/ofxAndroid/src/ofxAndroidUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ int ofxAndroidProgressBox(string msg){
return -1;
}
jstring jMsg = ofGetJNIEnv()->NewStringUTF(msg.c_str());
string ret = ofGetJNIEnv()->CallStaticIntMethod(javaClass,progressBox,jMsg);
int ret = ofGetJNIEnv()->CallStaticIntMethod(javaClass,progressBox,jMsg);
ofGetJNIEnv()->DeleteLocalRef((jobject)jMsg);
return ret;
}
Expand Down

0 comments on commit 4491064

Please sign in to comment.