mirror of https://github.com/Nonannet/copapy.git
explicit conversion to int added
This commit is contained in:
parent
ac148da25b
commit
23be1b1cae
|
|
@ -39,7 +39,7 @@ int update_data_offs() {
|
|||
perror("Error: code and data memory to far apart");
|
||||
return 0;
|
||||
}
|
||||
data_offs = data_memory - executable_memory;
|
||||
data_offs = (int)(data_memory - executable_memory);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue