Selaa lähdekoodia

cpghum: Fix type of recv_crc

Fixes build on FreeBSD which doesn't have ulong

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>
Ruben Kerkhof 10 vuotta sitten
vanhempi
commit
1f10c500c6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      test/cpghum.c

+ 1 - 1
test/cpghum.c

@@ -116,7 +116,7 @@ static void cpg_bm_deliver_fn (
 {
 	int *value = msg;
 	uLong crc=0;
-	ulong recv_crc = value[1] & 0xFFFFFFFF;
+	uLong recv_crc = value[1] & 0xFFFFFFFF;
 
 	packets_recvd++;
 	g_recv_length = msg_len;