[SOLVED]Comparison problem
-
Hi to everyone, who read this.
I have a situation, which shouldn't be a situation at all! Nevertheless, here it is:
I have a quint16 _blockSize and tcp number of available bytes of tcp socket. Just like that:
@
_sok->bytesAvailable()
@Well, all simple and nice there is a problem: they are not comparasing!
My condition:@
if(_sok->bytesAvailable()<_blockSize)
{
return;
}
else
{
...
}
@was just ignored and program do not enter not in "if", not in "else". It's just take away.
I know, what _blocksize and bytesavailable - are just 16 and 64 bit numbers, but i can't understand why comparasing don't go on?
Thanks in advance.
[EDIT: code formatting, please wrap in @-tags, Volker]