diff options
author | Benjamin Otte <otte@gnome.org> | 2004-07-16 01:16:53 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2004-07-16 01:16:53 +0000 |
commit | ae7fb01363d742595c106845b509bb435247a5a4 (patch) | |
tree | 18fd2c23955fb5dda03457f6b12965a16b7483fa /testsuite/states | |
parent | 895f68b86bd8c08e9c407c2759cfdcab9490157e (diff) |
gst/gstvalue.c: use ints and return ints, fractions only use ints, too, so this avoids accidently casting multiplicat...
Original commit message from CVS:
* gst/gstvalue.c: (gst_greatest_common_divisor):
use ints and return ints, fractions only use ints, too, so this
avoids accidently casting multiplications to unsigned
(gst_value_lcopy_fraction): it's ints, not uint32
(gst_value_set_fraction): disallow minint, multiplying and negation
are broken with it
(gst_value_fraction_multiply): fix to make large numbers work and get
rid of the assumption that the multiplication of two ints fits an
int64 - dunno if that's true for all systems
* testsuite/caps/Makefile.am:
* testsuite/caps/fraction-multiply-and-zero.c:
(check_multiplication), (check_equal), (zero_test), (main):
add tests for all the stuff above
* testsuite/caps/value_compare.c: (test1):
fix comment
* tests/.cvsignore:
* testsuite/caps/.cvsignore:
* testsuite/debug/.cvsignore:
* testsuite/dlopen/.cvsignore:
* testsuite/states/.cvsignore:
get up to date
Diffstat (limited to 'testsuite/states')
-rw-r--r-- | testsuite/states/.gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/states/.gitignore b/testsuite/states/.gitignore index 70b8e2288..031265d73 100644 --- a/testsuite/states/.gitignore +++ b/testsuite/states/.gitignore @@ -5,4 +5,6 @@ Makefile.in *.la .deps .libs + locked +parent |