[Top][All Lists]

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

[Gnash-commit] [SCM] Gnash branch, master, updated. 8d0679344d1129c02b70

From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. 8d0679344d1129c02b707b3d0eae634b8e86c123
Date: Thu, 25 Nov 2010 15:08:56 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  8d0679344d1129c02b707b3d0eae634b8e86c123 (commit)
       via  e298d9b8fcd7637f2e79a7569a02abc363519901 (commit)
      from  db12478c8e056799a3c120a4ef8a8c327b535e80 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit 8d0679344d1129c02b707b3d0eae634b8e86c123
Merge: e298d9b db12478
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Nov 25 16:08:49 2010 +0100

    Merge branch 'master' of

commit e298d9b8fcd7637f2e79a7569a02abc363519901
Author: Benjamin Wolsey <address@hidden>
Date:   Thu Nov 25 15:55:16 2010 +0100

    Use integer calculation for consistency.

diff --git a/libbase/GnashNumeric.h b/libbase/GnashNumeric.h
index 5518ae6..2cf7c18 100644
--- a/libbase/GnashNumeric.h
+++ b/libbase/GnashNumeric.h
@@ -111,7 +111,7 @@ truncateWithFactor(double a)
                 std::numeric_limits<boost::int32_t>::min() / factor;
     if (a >= lowerSignedLimit && a <= upperSignedLimit) {
-        return static_cast<boost::int32_t>(a * factor);
+        return a * Factor;
     // This slow truncation happens only in very unlikely cases.


Summary of changes:
 libbase/GnashNumeric.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


reply via email to

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