@@ -955,7 +955,7 @@ void PhoneAuthProvider::VerifyPhoneNumber(
955955 jobject timeout = env->NewObject (
956956 util::long_class::GetClass (),
957957 util::long_class::GetMethodId (util::long_class::kConstructor ),
958- options.timeout_milliseconds );
958+ static_cast <jlong>( options.timeout_milliseconds ) );
959959 if (util::CheckAndClearJniExceptions (env)) {
960960 listener->OnVerificationFailed (
961961 " VerifyPhoneNumber: couldn't convert timeout to java.lang.Long." );
@@ -988,7 +988,7 @@ void PhoneAuthProvider::VerifyPhoneNumber(
988988 if (util::CheckAndClearJniExceptions (env)) {
989989 env->DeleteLocalRef (builder);
990990 listener->OnVerificationFailed (
991- " VerifyPhoneNumber: builder faild to create PhoneAuhtOptions " );
991+ " VerifyPhoneNumber: builder failed to create PhoneAuthOptions " );
992992 return ;
993993 }
994994 env->DeleteLocalRef (builder);
@@ -1003,7 +1003,7 @@ void PhoneAuthProvider::VerifyPhoneNumber(
10031003 // If an error occurred with the call to verifyPhoneNumber, inform the
10041004 // listener that it failed.
10051005 listener->OnVerificationFailed (
1006- " VerifyPhoneNumber: Android to verify the given phone number" );
1006+ " VerifyPhoneNumber: Android failed to verify the given phone number" );
10071007 }
10081008
10091009 env->DeleteLocalRef (phone_auth_options);
0 commit comments