Commit 889a9d83 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Pointless type change.

parent f08ffa05
......@@ -46,10 +46,10 @@ seqno_compare(unsigned short s1, unsigned short s2)
return ((s2 - s1) & 0x8000) ? 1 : -1;
}
static inline int
static inline short
seqno_minus(unsigned short s1, unsigned short s2)
{
return (int)(short)((s1 - s2) & 0xFFFF);
return (short)((s1 - s2) & 0xFFFF);
}
static inline unsigned short
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment