Commit b739cbc2 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix seqno_compare and minus.

parent 8b73cccd
...@@ -35,7 +35,7 @@ THE SOFTWARE. ...@@ -35,7 +35,7 @@ THE SOFTWARE.
#include "util.h" #include "util.h"
int int
seqno_compare(unsigned char s1, unsigned char s2) seqno_compare(unsigned short s1, unsigned short s2)
{ {
if(s1 == s2) if(s1 == s2)
return 0; return 0;
...@@ -46,7 +46,7 @@ seqno_compare(unsigned char s1, unsigned char s2) ...@@ -46,7 +46,7 @@ seqno_compare(unsigned char s1, unsigned char s2)
} }
int int
seqno_minus(unsigned char s1, unsigned char s2) seqno_minus(unsigned short s1, unsigned short s2)
{ {
if(s1 == s2) if(s1 == s2)
return 0; return 0;
......
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