projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement MainWindow::add_view()
[pulseview.git]
/
pv
/
data
/
logicsegment.cpp
diff --git
a/pv/data/logicsegment.cpp
b/pv/data/logicsegment.cpp
index 3e18b85ef4143bb399c5dd1dcff2fb7e6375d7ed..a5634b30e5d6f93fd0495ae26e9e56dc5325e716 100644
(file)
--- a/
pv/data/logicsegment.cpp
+++ b/
pv/data/logicsegment.cpp
@@
-308,7
+308,7
@@
void LogicSegment::get_subsampled_edges(
pow2_ceil(index, MipMapScalePower));
for (; index < final_index &&
pow2_ceil(index, MipMapScalePower));
for (; index < final_index &&
- (index & ~(
~0
<< MipMapScalePower)) != 0;
+ (index & ~(
(uint64_t)(~0)
<< MipMapScalePower)) != 0;
index++) {
const bool sample =
(get_sample(index) & sig_mask) != 0;
index++) {
const bool sample =
(get_sample(index) & sig_mask) != 0;
@@
-358,7
+358,7
@@
void LogicSegment::get_subsampled_edges(
sig_mask))
break;
sig_mask))
break;
- if ((offset & ~(
~0
<< MipMapScalePower)) == 0) {
+ if ((offset & ~(
(uint64_t)(~0)
<< MipMapScalePower)) == 0) {
// If we are now at the beginning of a
// higher level mip-map block ascend one
// level
// If we are now at the beginning of a
// higher level mip-map block ascend one
// level