Changeset 3477 for trunk/src/kash/shfork-win.c
- Timestamp:
- Sep 17, 2020, 11:52:16 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shfork-win.c
r3468 r3477 6 6 #include <string.h> 7 7 #include <locale.h> 8 #include <assert.h>9 8 #include "shinstance.h" 10 9 #include <Windows.h> … … 85 84 g_stack_base = shfork_string_to_ptr(argv[5], argv[0], "--stack-base"); 86 85 g_stack_limit = shfork_string_to_ptr(argv[7], argv[0], "--stack-limit"); 87 assert((uintptr_t)stack_ptr < (uintptr_t)g_stack_base);88 assert((uintptr_t)stack_ptr > (uintptr_t)g_stack_limit);86 kHlpAssert((uintptr_t)stack_ptr < (uintptr_t)g_stack_base); 87 kHlpAssert((uintptr_t)stack_ptr > (uintptr_t)g_stack_limit); 89 88 90 89 /* … … 183 182 int rc = 0; 184 183 185 assert((uintptr_t)stack_ptr < (uintptr_t)g_stack_base);186 assert((uintptr_t)stack_ptr > (uintptr_t)g_stack_limit);184 kHlpAssert((uintptr_t)stack_ptr < (uintptr_t)g_stack_base); 185 kHlpAssert((uintptr_t)stack_ptr > (uintptr_t)g_stack_limit); 187 186 188 187 /*
Note:
See TracChangeset
for help on using the changeset viewer.