]> git.pld-linux.org Git - packages/heartbeat.git/blame - heartbeat-type_mismatch.patch
- enhanced libs patch to remove unneeded libraries from global LIBS
[packages/heartbeat.git] / heartbeat-type_mismatch.patch
CommitLineData
a8633069
JK
1http://hg.linux-ha.org/heartbeat-STABLE_3_0/rev/7e3a82377fa8
2
3# HG changeset patch
4# User Lars Ellenberg <lars@linbit.com>
5# Date 1308306763 -7200
6# Node ID 7e3a82377fa8c88b4d9ee47e29020d4531f4629a
7# Parent 66b99da853910131ed599e8b06d200883f51b895
8Fix type mismatch in reset_seqtrack
9
10Would result in compilation warning, and probably bad runtime behaviour on
1132bit arch, if facing packet loss when packet sequence numbers already left
12the 32bit value space.
13
14--- a/heartbeat/heartbeat.c
15+++ b/heartbeat/heartbeat.c
16@@ -5517,7 +5517,8 @@ static void
17 reset_seqtrack(struct node_info *n)
18 {
19 struct seqtrack *t = &n->track;
20- int i, seq;
21+ seqno_t seq;
22+ int i;
23
24 for (i = 0; i < t->nmissing; ++i) {
25 seq = t->seqmissing[i];
26
This page took 0.082127 seconds and 4 git commands to generate.