gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_fi


From: Bastiaan Jacques
Subject: Re: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1757-g683110c
Date: Sat, 24 Aug 2013 15:04:27 +0200 (CEST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

On Tue, 20 Aug 2013, Gabriele Giacone wrote:

commit 683110ca275c7f0c07111282c1e8047a723432e1
Author: Gabriele Giacone <address@hidden>
Date:   Wed Aug 21 00:19:00 2013 +0200

   Fix warnings: comparison between signed and unsigned integer expressions.

diff --git a/libmedia/ffmpeg/MediaParserFfmpeg.cpp 
b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
index a53fb70..b3d274b 100644
--- a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
+++ b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
@@ -498,7 +498,7 @@ MediaParserFfmpeg::initializeParser()
#else
        boost::uint64_t duration = _videoStream->duration;
#endif
-        if (duration == AV_NOPTS_VALUE) {
+        if (duration == static_cast<uint64_t>(AV_NOPTS_VALUE)) {

Please use uint64_t from namespace boost, for consistency's sake.

Bastiaan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]