Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
1f10c500c6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;