Skip to content

Commit

Permalink
fix parameter error in 32 bits system (#13236)
Browse files Browse the repository at this point in the history
  • Loading branch information
xylophone21 authored and pull[bot] committed Mar 11, 2022
1 parent cf4f303 commit 1263536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tv-app/android/java/MediaPlaybackManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Commands::PlaybackResponse::Type MediaPlaybackManager::HandleMediaRequest(MediaP
VerifyOrExit(env != NULL, err = CHIP_JNI_ERROR_NO_ENV);

env->ExceptionClear();
ret = env->CallIntMethod(mMediaPlaybackManagerObject, mRequestMethod, static_cast<jlong>(mediaPlaybackRequest),
ret = env->CallIntMethod(mMediaPlaybackManagerObject, mRequestMethod, static_cast<jint>(mediaPlaybackRequest),
static_cast<jlong>(deltaPositionMilliseconds));
if (env->ExceptionCheck())
{
Expand Down

0 comments on commit 1263536

Please sign in to comment.