mirror of
https://github.com/ksherlock/mpw.git
synced 2025-02-21 01:29:21 +00:00
linux.
This commit is contained in:
parent
69e09e3f11
commit
4fa442dab1
@ -363,7 +363,7 @@ namespace OS
|
|||||||
|
|
||||||
d0 = xfer.error();
|
d0 = xfer.error();
|
||||||
transferCount = xfer.value_or(0);
|
transferCount = xfer.value_or(0);
|
||||||
offset = ff->get_mark().value_or(0ul);
|
offset = ff->get_mark().value_or((size_t)0);
|
||||||
|
|
||||||
memoryWriteLong(offset, parm + 46); // new offset.
|
memoryWriteLong(offset, parm + 46); // new offset.
|
||||||
memoryWriteLong(transferCount, parm + 40);
|
memoryWriteLong(transferCount, parm + 40);
|
||||||
@ -421,7 +421,7 @@ namespace OS
|
|||||||
|
|
||||||
d0 = xfer.error();
|
d0 = xfer.error();
|
||||||
transferCount = xfer.value_or(0);
|
transferCount = xfer.value_or(0);
|
||||||
offset = ff->get_mark().value_or(0ul);
|
offset = ff->get_mark().value_or((size_t)0);
|
||||||
|
|
||||||
memoryWriteLong(offset, parm + 46); // new offset.
|
memoryWriteLong(offset, parm + 46); // new offset.
|
||||||
memoryWriteLong(transferCount, parm + 40);
|
memoryWriteLong(transferCount, parm + 40);
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
|
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
|
#include <cstring>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user