2019-09-30 11:09:28 -04:00
|
|
|
diff --git a/compress42.c b/compress42.c
|
2021-02-02 18:21:22 +08:00
|
|
|
index 5d5f049..bec7a2f 100644
|
2019-09-30 11:09:28 -04:00
|
|
|
--- a/compress42.c
|
|
|
|
|
+++ b/compress42.c
|
2021-02-02 18:21:22 +08:00
|
|
|
@@ -140,6 +140,7 @@
|
|
|
|
|
# define MINGW
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+#include <unistd.h>
|
|
|
|
|
#include <stdint.h>
|
2019-09-30 11:09:28 -04:00
|
|
|
#include <stdio.h>
|
|
|
|
|
#include <stdlib.h>
|
2021-02-02 18:21:22 +08:00
|
|
|
@@ -549,8 +550,8 @@ int remove_ofname = 0; /* Remove output file on a error */
|
|
|
|
|
char *ofname = NULL; /* Output filename */
|
2019-09-30 11:09:28 -04:00
|
|
|
int fgnd_flag = 0; /* Running in background (SIGINT=SIGIGN) */
|
|
|
|
|
|
|
|
|
|
-long bytes_in; /* Total number of byte from input */
|
|
|
|
|
-long bytes_out; /* Total number of byte to output */
|
|
|
|
|
+long long bytes_in; /* Total number of byte from input */
|
|
|
|
|
+long long bytes_out; /* Total number of byte to output */
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* 8086 & 80286 Has a problem with array bigger than 64K so fake the array
|