[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdepim/akregator/src
From: Marc Mutz <marc () kdab ! net>
Date: 2008-04-04 13:50:25
Message-ID: 200804041550.27513.marc () kdab ! net
[Download RAW message or body]
On Friday April 4 2008 15:30, Dirk Mueller wrote:
> On Thursday 03 April 2008, Marc Mutz wrote:
> > I'd use
> > const void * const data = str.data();
>
> implicitely converting const char* to const void* here..
>
> > const unsigned int len = str.size() * sizeof( *str.data() );
> > qChecksum( static_cast<const char*>( data ), len
> > ); // thanks, TT, for not using void*
>
> .. and then whining about it.. I had a good laugh, thanks.
<snip>
Pleased to be of service. Now, if you would turn your attention to the
declaration of 'str'. Yes... Now, _I_ had a good laugh.
Thanks,
Marc
--
Marc Mutz - marc@kdab.com, mutz@kde.org - Klarälvdalens Datakonsult AB
Platform-independent software solutions - www.kdab.com info@kdab.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic