[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: RE: Nonportable code in C++ support
From: Kris Wong <wongk () seapine ! com>
Date: 2008-02-13 12:53:16
Message-ID: A744DCAEEDDFFD4B9D0D5B153D2712839CE7F5D8 () ex4 ! seapine ! com
[Download RAW message or body]
> But since the hash-values are always 32 bit, won"t you then
> get a warning when
> casting long -> uint? :) Of course, any way of removing the
> warning is fine.
int hash = (int)((size_t)ptr + [whatever]);
Let's not forget, longs are 4 bytes on 64 bit Windows.
Kris Wong
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic