From 8e076453754af725f340275e01d72c218e56ded9 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 17:27:00 +0000 Subject: Apply patch 0005-extensions-cluster-Avoid-undefined-shift.patch patch_name: 0005-extensions-cluster-Avoid-undefined-shift.patch present_in_specfile: true location_in_specfile: 5 --- diff --git a/extensions/libxt_cluster.c b/extensions/libxt_cluster.c index c9c35ee..d164bf6 100644 --- a/extensions/libxt_cluster.c +++ b/extensions/libxt_cluster.c @@ -156,7 +156,7 @@ static int cluster_xlate(struct xt_xlate *xl, xt_xlate_add(xl, "%s %u seed 0x%08x ", jhash_st, info->total_nodes, info->hash_seed); for (node = 0; node < 32; node++) { - if (info->node_mask & (1 << node)) { + if (info->node_mask & (1u << node)) { if (needs_set == 0) { xt_xlate_add(xl, "{ "); needs_set = 1;