[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Huston, we have a problem: Q_UINT32 vs. unsigned long
From:       Bo Thorsen <bo () sonofthor ! dk>
Date:       2004-06-22 8:07:32
Message-ID: 200406221007.37912.bo () sonofthor ! dk
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 22 June 2004 10:04, David Faure wrote:
> On Tuesday 22 June 2004 09:01, Bo Thorsen wrote:
> > It's of course tempting to take advantage of the bigger capability of
> > a 64 bit system, but AFAIK the number stored in the index file is
> > always 32 bit, so that's not possible.
>
> Which is why there might be no bug at all here. As long as the serial
> numbers are initially created as int32s, it doesn't matter which
> (possibly bigger) int type you put them in later on.

Well, they are saved back at some point. Of course, as long as the serial 
number doesn't actually use the upper 32 bits then this doesn't go wrong. 
Which means if someone decides to change the way the serial numbers are 
done, then it will break.

Seems fragile and unnecessary to me.

Bo.

-- 

     Bo Thorsen                 |   Praestevejen 4
     Senior Software Engineer   |   5290 Marslev
     Klarälvdalens Datakonsult  |   Denmark

[Attachment #5 (application/pgp-signature)]

_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic