[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Re: [PATCH] libamf/lcshm.cpp: fix "cast loses precision"
From: |
Benjamin Wolsey |
Subject: |
Re: [Gnash-dev] Re: [PATCH] libamf/lcshm.cpp: fix "cast loses precision" error |
Date: |
Fri, 24 Jul 2009 21:31:10 +0100 |
> +++ libamf/lcshm.cpp
> - if ( (unsigned int)Listener::getBaseAddress() == 0x0 )
> + if ( Listener::getBaseAddress() == 0x0 )
>
Am I alone in not receiving this diff on gnash-commit, or is it still
not getting through?
The fix for this, as well as being generally much better coding style,
is:
if (!Listener::getBaseAddress())
(If you don't state the obvious in bug reports, there is a risk that no
action will be taken.)
--
The current release of Gnash is 0.8.5
http://www.gnu.org/software/gnash/
Benjamin Wolsey, Software Developer - http://benjaminwolsey.de
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil