--bruce Index: amf.cpp =================================================================== RCS file: /sources/gnash/gnash/libamf/amf.cpp,v retrieving revision 1.28 diff -r1.28 amf.cpp 126c126 < unsigned long l; --- > uint32_t l; 143,145c143,145 < l = *(unsigned long *)x; < *(unsigned long *)x = *((unsigned long *)x + 1); < *((unsigned long *)x + 1) = l; --- > l = *(uint32_t *)x; > *(uint32_t *)x = *((uint32_t *)x + 1); > *((uint32_t *)x + 1) = l; 147c147 < swapBytes((char *)((unsigned long *)x+1), 4); --- > swapBytes((char *)((uint32_t *)x+1), 4); _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev
This makes the number tests pass on my amd64 ubuntu machine. I haven't
really followed the project
except to try 0.7.2. Disclaimer, I haven't touched c++ for 15 years, so
this may not be optimal and I
also haven't tried this within the browser, but the code looked
suspicious for me anyway.
- [Gnash-dev] Test failure on amd 64 and possible fix Bruce Milner

