Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37744356
en ru br
ALT Linux repos
S:1.2b-alt5
5.0: 1.2b-alt2
4.1: 1.2b-alt2
4.0: 1.2b-alt2
3.0: 1.2b-alt2

Group :: Archiving/Compression
RPM: unace

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 004_64_bit_clean.patch
Download


Description: Make the program 64 bit clean, by using <stdint.h> to typedef
 the data types independently of the target system.
Author: Guillem Jover <guillem@hadrons.org>
Origin: vendor
Forwarded: no
Bug-Debian: https://bugs.debian.org/431380
Index: b/declare.h
===================================================================
--- a/declare.h
+++ b/declare.h
@@ -15,12 +15,14 @@
 
 #else /* AMIGA */
 
-typedef unsigned short USHORT;
-typedef short          SHORT ;
-typedef unsigned short UWORD ;
-typedef short          WORD  ;
-typedef unsigned long  ULONG ;
-typedef long           LONG  ;
+#include <stdint.h>
+
+typedef uint16_t       USHORT;
+typedef int16_t        SHORT ;
+typedef uint16_t       UWORD ;
+typedef int16_t        WORD  ;
+typedef uint32_t       ULONG ;
+typedef int32_t        LONG  ;
 
 #endif  /* !AMIGA */
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin