#921: Fix compilation failure on ARM32

This commit is contained in:
Andrei Pangin
2024-05-03 03:08:46 +03:00
parent 26a94a1839
commit 07e6015d1d
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
# define INCBIN_SECTION ".const_data"
# define INCBIN_SYMBOL "_"
#else
# define INCBIN_SECTION ".section \".rodata\", \"a\", @progbits"
# define INCBIN_SECTION ".section \".rodata\", \"a\""
# define INCBIN_SYMBOL
#endif
+1 -1
View File
@@ -183,7 +183,7 @@ class Profiler {
}
u64 total_samples() { return _total_samples; }
time_t uptime() { return time(NULL) - _start_time; }
long uptime() { return time(NULL) - _start_time; }
Dictionary* classMap() { return &_class_map; }
ThreadFilter* threadFilter() { return &_thread_filter; }
+2 -1
View File
@@ -72,7 +72,8 @@ static void* resolveMethodId(void** mid) {
return mid == NULL || *mid < (void*)4096 ? NULL : *mid;
}
static void resolveMethodIdEnd() {
static void* resolveMethodIdEnd() {
return NULL;
}