We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee5a630 + 9d58219 commit 58e1100Copy full SHA for 58e1100
components/soc/src/esp32/include/hal/cpu_ll.h
@@ -116,7 +116,7 @@ static inline void cpu_ll_set_watchpoint(int id,
116
117
//We support watching 2^n byte values, from 1 to 64. Calculate the mask for that.
118
for (int x = 0; x < 7; x++) {
119
- if (size == (1 << x)) {
+ if (size == (size_t)(1 << x)) {
120
break;
121
}
122
dbreakc <<= 1;
components/soc/src/esp32s2/include/hal/cpu_ll.h
@@ -110,7 +110,7 @@ static inline void cpu_ll_set_watchpoint(int id,
110
111
112
113
114
115
0 commit comments