Skip to content

Commit

Permalink
fix parameter error in 32 bits system
Browse files Browse the repository at this point in the history
  • Loading branch information
xylophone21 committed Dec 23, 2021
1 parent bf7feea commit bab9dec
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 @@ -194,7 +194,7 @@ EmberAfMediaPlaybackStatus MediaPlaybackManager::Request(MediaPlaybackRequest me
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 bab9dec

Please sign in to comment.