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 Aug 2, 2023
1 parent 8c19d40 commit 3819965
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 3819965

Please sign in to comment.