[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdebindings/kjsembed
From: Sandro Giessl <sandro () giessl ! com>
Date: 2005-05-23 10:02:42
Message-ID: 200505231202.45370.sandro () giessl ! com
[Download RAW message or body]
On Sunday 22 May 2005 16:03, Jonathan Riddell wrote:
> SVN commit 416882 by jriddell:
>
> Fix compile on 64 bit with GCC 4
>
>
> M +1 -1 trunk/KDE/kdebindings/kjsembed/jseventmapper.cpp
> M +6 -6 trunk/KDE/kdebindings/kjsembed/jsfactory.cpp
>
>
> --- trunk/KDE/kdebindings/kjsembed/jseventmapper.cpp #416881:416882
> @@ -88,7 +88,7 @@
>
> QEvent::Type JSEventMapper::findEventType( const KJS::Identifier &name )
> const {
> - uint evt = (uint) handlerToEvent[ name.qstring() ];
> + uint evt = (uint)(long)handlerToEvent[ name.qstring() ];
^^^^^^^
Why "(uint)(long)"? Isn't this the same as just "(uint)" in the end?
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic