24 lines
789 B
Diff
24 lines
789 B
Diff
diff --git a/compress42.c b/compress42.c
|
|
index 5d5f049..bec7a2f 100644
|
|
--- a/compress42.c
|
|
+++ b/compress42.c
|
|
@@ -140,6 +140,7 @@
|
|
# define MINGW
|
|
#endif
|
|
|
|
+#include <unistd.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
@@ -549,8 +550,8 @@ int remove_ofname = 0; /* Remove output file on a error */
|
|
char *ofname = NULL; /* Output filename */
|
|
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
|