From: Ruben Kerkhof Date: Tue, 15 Dec 2015 11:31:28 +0000 (+0100) Subject: cpghum: Fix type of recv_crc X-Git-Tag: v2.3.6~38 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=1f10c500c689fd64bcc587851b120c913f7dc740;p=mirror_corosync.git cpghum: Fix type of recv_crc Fixes build on FreeBSD which doesn't have ulong Signed-off-by: Ruben Kerkhof Reviewed-by: Jan Friesse --- diff --git a/test/cpghum.c b/test/cpghum.c index 79184e88..6d1fe60b 100644 --- a/test/cpghum.c +++ b/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;