CVSROOT: /sources/gnash Module name: gnash Changes by: Chad Musick <cmusick> 07/09/23 08:51:16
Modified files: server/parser : abc_block.cpp Log message: Fix unintentional reversion from front() to data(). CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/server/parser/abc_block.cpp?cvsroot=gnash&r1=1.4&r2=1.5 Patches: Index: abc_block.cpp =================================================================== RCS file: /sources/gnash/gnash/server/parser/abc_block.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -b -r1.4 -r1.5 --- abc_block.cpp 23 Sep 2007 08:48:19 -0000 1.4 +++ abc_block.cpp 23 Sep 2007 08:51:16 -0000 1.5 @@ -614,7 +614,7 @@ // And the code: method.mCode.resize(code_length); unsigned int got_length; - if ((got_length = in->read(method.mCode.data(), code_length)) != code_length) + if ((got_length = in->read(&method.mCode.front(), code_length)) != code_length) { ERR((_("Action Block: Not enough body. Wanted %d but got %d.\n"), code_length, got_length)); _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit