mirror of
https://github.com/danog/ir.git
synced 2025-01-22 05:31:32 +01:00
Fix Windows build
This commit is contained in:
parent
b7e7de5821
commit
f7377e806d
@ -1052,7 +1052,7 @@ finish:
|
||||
|
||||
if (dump_size) {
|
||||
if (loader.code_buffer.start) {
|
||||
loader.size = loader.code_buffer.pos - loader.code_buffer.start;
|
||||
loader.size = (char*)loader.code_buffer.pos - (char*)loader.code_buffer.start;
|
||||
}
|
||||
fprintf(stderr, "\ncode size = %lld\n", (long long int)loader.size);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user