I get a compiler warning with this statements:
ulong versionHash=0;
if (User!=null)
versionHash |= (ulong)User.Use rID;
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.
I'm posting this question know for the third time but It never seemed to
appear in the newsgroup here. Strange.
--
cody
Freeware Tools, Games and Humour
[noncommercial and no fucking ads]
ulong versionHash=0;
if (User!=null)
versionHash |= (ulong)User.Use rID;
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.
I'm posting this question know for the third time but It never seemed to
appear in the newsgroup here. Strange.
--
cody
Freeware Tools, Games and Humour
[noncommercial and no fucking ads]