]>
Commit | Line | Data |
---|---|---|
a8633069 JK |
1 | http://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 | |
8 | Fix type mismatch in reset_seqtrack | |
9 | ||
10 | Would result in compilation warning, and probably bad runtime behaviour on | |
11 | 32bit arch, if facing packet loss when packet sequence numbers already left | |
12 | the 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 |