I get a compiler warning with this statements:
ulong versionHash=0;
if (User!=null)
versionHash |= (ulong)User.UserID;
The warnign is like that (translated from german): "Bitwise OR-operator is
used for signed operand. It is recommended to convert a smaller unsigned
type first."
I don't understand what the compiler will tell me with that. I see no
problem since both operands are the same size and unsigned.
--
cody
Freeware Tools, Games and Humour
http://www.deutronium.de.vu
[noncommercial and no fucking ads]