Hi! Craig Milo Rogers wrote: > In SVN revision 124, there is a bug in cut parsing in > main.cpp, line 236. The variable "pos" is declared to be type > unsigned int. Unfortunately, it is compared to std::string::npos, > which is of type "size_t", which on (some) 64-bit systems is "unsigned > long int", and the result is that the comparison will fail.
Yep. > Consequently, frame numbers cannot be parsed in a cut list on these > systems. > > To be correct, pos should be declared to be type "size_t". > Thst will work on 32-bit or 64-bit systems. "size_t" is made available > by <cstring>, which main.cpp already imcludes. Done. Welcome to r125. -- Michael "Tired" Riepe <[EMAIL PROTECTED]> X-Tired: Each morning I get up I die a little ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DVBCUT-user mailing list DVBCUT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dvbcut-user