mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-26 09:03:11 +08:00
Fix ptr arithmetic hopefully
This commit is contained in:
parent
35857f535d
commit
53c5456f7a
1 changed files with 1 additions and 1 deletions
|
@ -2065,7 +2065,7 @@ void __attribute__((noreturn)) AppMain(void) {
|
||||||
SpinDelay(100);
|
SpinDelay(100);
|
||||||
BigBuf_initialize();
|
BigBuf_initialize();
|
||||||
|
|
||||||
for (uint32_t * p = &_stack_start; p < (&_stack_end) - 0x80; ++p) {
|
for (uint32_t * p = &_stack_start; p < ((uint32_t *)(uintptr_t)&_stack_end) - 0x80; ++p) {
|
||||||
*p = 0xdeadbeef;
|
*p = 0xdeadbeef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue