Oops,

mea culpa,... :(
Guess it's time to buy one of these new 64bit multicore maschines... ;-)

ciao
Ralph

> -----Ursprüngliche Nachricht-----
> Von: "DVBCUT questions,  discussions and announcements" 
> <dvbcut-user@lists.sourceforge.net>
> Gesendet: 18.05.08 11:49:37
> An:   discussions and announcements" <dvbcut-user@lists.sourceforge.net>
> Betreff: Re: [DVBCUT-user] Error in cut parsing in main.cpp on 64-bit systems

> 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
> 

-- 
========================================================
 Ralph Glasstetter                                       
                                            0721 359166
[EMAIL PROTECTED]
 76137 Karlsruhe          fax/voice  01212 5 107 16 958
========================================================
_______________________________________________________________
Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen: 
http://www.produkte.web.de/messenger/?did=3016

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
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

Reply via email to