Skip to content

Commit

Permalink
#921: Fix compilation failure on ARM32
Browse files Browse the repository at this point in the history
  • Loading branch information
apangin committed May 3, 2024
1 parent 26a94a1 commit 07e6015
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/incbin.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/profiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down
3 changes: 2 additions & 1 deletion src/vmEntry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit 07e6015

Please sign in to comment.