mirror of
https://github.com/danog/ir.git
synced 2024-12-04 02:28:32 +01:00
Fix Windows build
This commit is contained in:
parent
b7e7de5821
commit
f7377e806d
@ -1052,7 +1052,7 @@ finish:
|
|||||||
|
|
||||||
if (dump_size) {
|
if (dump_size) {
|
||||||
if (loader.code_buffer.start) {
|
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);
|
fprintf(stderr, "\ncode size = %lld\n", (long long int)loader.size);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user