[Box Backup-dev] COMMIT r248 - box/trunk/lib/backupclient
Chris Wilson
boxbackup-dev@fluffy.co.uk
Wed, 21 Dec 2005 01:40:08 +0000 (GMT)
Hi Martin,
> It needs to become an integer to do the non-additive arithmetic. Curious
> to know what size pointers are on this setup. Are they long long?
> Previously the code was casting to int32_t so I doubt that would have
> been any better.
I've enabled the win64 portability warnings. I'd guess that long might be
32-bit on some Windows platforms, or else visual c++ is being overly
paranoid. Using long long seems to shut it up.
And yes, I was getting similar errors with the old code, so you didn't
make it any worse :-)
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |