projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
20df1a3
)
Fix #1125 by adding a missing typecast
author
Soeren Apel
<soeren@apelpie.net>
Thu, 8 Mar 2018 23:28:42 +0000
(
00:28
+0100)
committer
Soeren Apel
<soeren@apelpie.net>
Mon, 12 Mar 2018 14:58:14 +0000
(15:58 +0100)
Without this typecast, the return type of get_sample_count() is
a uint64_t, which doesn't go well when it's 0 and we subtract 1
from it. Assigning the result of this underflow to an int64_t
doesn't help, it's too late.
No differences found