Displaying 1 result from an estimated 1 matches for "273e611".
2007 Oct 11
0
2 commits - libswfdec/swfdec_text_format.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h
...96736aa773eca68)
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Oct 11 23:06:36 2007 +0200
PPC fixes
I don't think the casts are sane now, but at least they work on 32bit PPC.
diff --git a/libswfdec/swfdec_text_format.c b/libswfdec/swfdec_text_format.c
index a023b13..273e611 100644
--- a/libswfdec/swfdec_text_format.c
+++ b/libswfdec/swfdec_text_format.c
@@ -212,7 +212,10 @@ swfdec_text_format_value_to_integer (Swf
return -2147483648;
} else {
if (is_unsigned) {
- return (unsigned)d;
+ if (!isfinite (d))
+ return 0;
+ else
+ return (unsigned)d;...