Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mkardous-silabs committed Jun 18, 2024
1 parent 4d80505 commit 80de7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/support/JniReferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ jshort JniReferences::ShortToPrimitive(jobject boxedShort)
ChipLogError(Support, "ShortToPrimitive failed due to %" CHIP_ERROR_FORMAT, err.Format()));

jmethodID valueMethod = env->GetMethodID(boxedTypeCls, "shortValue", "()S");
return env->CallShortMethod(boxedDouble, valueMethod);
return env->CallShortMethod(boxedShort, valueMethod);
}

CHIP_ERROR JniReferences::CallSubscriptionEstablished(jobject javaCallback, long subscriptionId)
Expand Down

0 comments on commit 80de7e1

Please sign in to comment.