K 10 svn:author V 3 tmm K 8 svn:date V 27 2002-10-20T23:13:05.000000Z K 7 svn:log V 439 Fix the calculations of the length of the unread message buffer contents. The code was subtracting two unsigned ints, stored the result in a log and expected it to be the same as of a signed subtraction; this does only work on platforms where int and long have the same size (due to overflows). Instead, cast to long before the subtraction; the numbers are guaranteed to be small enough so that there will be no overflows because of that. END