i64 -> u64 + osFileXXX() works on both linux and mac I think
This commit is contained in:
1 parent
ae8d1431b6
commit
60330da767
4 files changed
+119
-118
No files matched your search
+1
-1
@@ -198,7 +198,7 @@ fn Dim2 osGetTerminalDimensions() {
|
||||
return result;
|
||||
}
|
||||
|
||||
void osBlitToTerminal(ptr writeable_output_ansi_string, i64 count) {
|
||||
void osBlitToTerminal(ptr writeable_output_ansi_string, u64 count) {
|
||||
HANDLE hStdout = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||
DWORD written;
|
||||
WriteConsole(hStdout, writeable_output_ansi_string, count, &written, NULL);
|
||||
|
||||
Reference in new issue
Block a user