You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
613 B
25 lines
613 B
--- mscompress.c.old 2006-11-27 23:58:51.000000000 +0100
|
|
+++ mscompress.c 2006-11-27 23:59:50.000000000 +0100
|
|
@@ -25,6 +25,7 @@
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
#include <string.h>
|
|
+#include <stdint.h>
|
|
#ifdef HAVE_GETOPT_H
|
|
#include <getopt.h>
|
|
#else
|
|
@@ -156,10 +157,10 @@
|
|
int ch, i, run, len, match, size, mask;
|
|
char buf[17];
|
|
struct stat st;
|
|
- unsigned long magic1;
|
|
- unsigned long magic2;
|
|
+ uint32_t magic1;
|
|
+ uint32_t magic2;
|
|
unsigned short magic3;
|
|
- unsigned long filesize;
|
|
+ uint32_t filesize;
|
|
|
|
/* 28.5 kB */
|
|
buffer = malloc (N + F + (N + 1 + N + N + 256) * sizeof (int));
|