Skip to content

Commit

Permalink
🐩 fix warning under windows
Browse files Browse the repository at this point in the history
  • Loading branch information
orca-zhang committed Aug 26, 2022
1 parent 14707f4 commit c0fa6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Trampoline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ static const size_t kAlignmentSize = 64; // 64
++it) {
if(it->size - it->used > ceil((double)alloc_size / kAlignmentSize) * kAlignmentSize) {
trampoline = it->base + it->used;
it->used += ceil((double)alloc_size / kAlignmentSize) * kAlignmentSize;
it->used += size_t(ceil((double)alloc_size / kAlignmentSize) * kAlignmentSize);
break;
}
}
Expand Down

0 comments on commit c0fa6b6

Please sign in to comment.