diff options
author | Roland Barenbrug <roland@treslong.com> | 2022-06-29 13:09:25 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-08-06 22:24:39 +0200 |
commit | bd9bb13012d8009072f648496f02584ad04b647a (patch) | |
tree | dcd6fbfeb1d96048699bc62030307b8328110a65 /.gitattributes | |
parent | bd74c1115513899040b623a5f23dfde955cd5d09 (diff) | |
download | upstream-bd9bb13012d8009072f648496f02584ad04b647a.tar.gz upstream-bd9bb13012d8009072f648496f02584ad04b647a.tar.bz2 upstream-bd9bb13012d8009072f648496f02584ad04b647a.zip |
ltq-vdsl-app: Fix counter overflow resulting in negative values
The re-transmit counters can overflow the 32 bit representation resulting
in negative values being displayed. Background being that the numbers are
treated at some point as signed INT rather than unsigned INT.
Change the counters from 32 bit to 64 bit, should provide sufficient room
to avoid any overflow. Not the nicest solution but it works
Fixes: #10077
Signed-off-by: Roland Barenbrug <roland@treslong.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
(cherry picked from commit 456b9029d764e69f390ee26bca24883b12eb83c2)
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions