gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog libbase/triangulate_impl.h serv...


From: strk
Subject: Re: [Gnash-commit] gnash ChangeLog libbase/triangulate_impl.h serv...
Date: Fri, 29 Sep 2006 12:00:10 +0200

On Fri, Sep 29, 2006 at 09:40:46AM +0000, Markus Gothe wrote:
...
> -             log_action("at ActionExec operator() start, pc=%lu, 
> stop_pc=%lu, code.size=%lu.", pc, stop_pc, code.size());
> +             log_action("at ActionExec operator() start, pc=%lu, 
> stop_pc=%lu, code.size=%lu.", static_cast<unsigned long>pc, 
> static_cast<unsigned long>stop_pc, static_cast<unsigned long>code.size());

Just a reminder (we already discussed this with Markus):

Correct syntax is:

        tgt_type tgt_var = static_cast<tgt_type> ( src_var );

If we want to add some debugging we can preceed that with:

        assert ( dynamic_cast<tgt_type> ( src_var ) );

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]