Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix signed/unsigned compiler warnings.

  • Loading branch information...
commit 90a72efb190e6da6e6db0294e5722f5e75906108 1 parent 08ad6ce
@stichnot stichnot authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 mythtv/libs/libmythtv/mythplayer.cpp
View
6 mythtv/libs/libmythtv/mythplayer.cpp
@@ -4093,9 +4093,9 @@ void MythPlayer::HandleArbSeek(bool right)
if (deleteMap.GetSeekAmount() == -2)
{
uint64_t framenum = deleteMap.GetNearestMark(framesPlayed, right);
- if (right && (framenum > (int64_t)framesPlayed))
+ if (right && (framenum > framesPlayed))
DoFastForward(framenum - framesPlayed, kInaccuracyNone);
- else if (!right && ((int64_t)framesPlayed > framenum))
+ else if (!right && (framesPlayed > framenum))
DoRewind(framesPlayed - framenum, kInaccuracyNone);
}
else
@@ -4821,7 +4821,7 @@ uint64_t MythPlayer::TranslatePositionFrameToMs(uint64_t position,
bool use_cutlist) const
{
float frameRate = GetFrameRate();
- if (position == -1)
+ if (position == (uint64_t)-1)
{
float recorderFrameRate = player_ctx->recorder->GetFrameRate();
if (recorderFrameRate > 0)
Please sign in to comment.
Something went wrong with that request. Please try again.