mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 15:13:09 +00:00
Fix ptr arithmetic hopefully
This commit is contained in:
1 parent
35857f535d
commit
53c5456f7a
1 file changed
+1
-1
+1
-1
@@ -2065,7 +2065,7 @@ void __attribute__((noreturn)) AppMain(void) {
|
||||
SpinDelay(100);
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user