0d24562615
immediate segfault when being run on e.g. amd64 - Fix wrong length when reading block into structure (probably a typo) - Other minor non-functional fixes PR: ports/161664 Submitted by: Cray Elliott
33 lines
974 B
C
33 lines
974 B
C
--- src/deutex.h.orig 1999-12-31 07:20:22.000000000 +0800
|
|
+++ src/deutex.h 2012-02-12 16:53:51.000000000 +0800
|
|
@@ -31,23 +31,13 @@
|
|
#define DeuSF for DOS .EXE Unix Linux OS/2
|
|
*********************************************/
|
|
|
|
-#if defined (__alpha) /*__ALPHA__ for Alpha processor?*/
|
|
-/*long = int64 on a 64bit processor*/
|
|
-typedef char Int8;
|
|
-typedef short Int16;
|
|
-typedef int Int32;
|
|
-typedef unsigned char UInt8;
|
|
-typedef unsigned short UInt16;
|
|
-typedef unsigned int UInt32;
|
|
-#else
|
|
-/*long = Int32 on a 32 bit processor*/
|
|
-typedef char Int8;
|
|
-typedef short Int16;
|
|
-typedef long Int32;
|
|
-typedef unsigned char UInt8;
|
|
-typedef unsigned short UInt16;
|
|
-typedef unsigned long UInt32;
|
|
-#endif
|
|
+#include <stdint.h>
|
|
+typedef int8_t Int8;
|
|
+typedef int16_t Int16;
|
|
+typedef int32_t Int32;
|
|
+typedef uint8_t UInt8;
|
|
+typedef uint16_t UInt16;
|
|
+typedef uint32_t UInt32;
|
|
|
|
#if defined DeuTex
|
|
#if defined DeuSF
|