]> git.pld-linux.org Git - packages/perl-Crypt-RIPEMD160.git/commitdiff
- use arch-independent type names
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 28 Aug 2004 20:50:04 +0000 (20:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-RIPEMD160-types.patch -> 1.1

perl-Crypt-RIPEMD160-types.patch [new file with mode: 0644]

diff --git a/perl-Crypt-RIPEMD160-types.patch b/perl-Crypt-RIPEMD160-types.patch
new file mode 100644 (file)
index 0000000..69f2a29
--- /dev/null
@@ -0,0 +1,19 @@
+--- Crypt-RIPEMD160-0.04/rmd160.h.orig 1998-04-07 11:32:36.000000000 +0200
++++ Crypt-RIPEMD160-0.04/rmd160.h      2004-08-28 22:45:08.162936140 +0200
+@@ -20,12 +20,13 @@
+ /********************************************************************/
++#include <stdint.h>
+ /* typedef 8, 16 and 32 bit types, resp.  */
+ /* adapt these, if necessary, 
+    for your operating system and compiler */
+-typedef    unsigned char        byte;   /* unsigned 8-bit integer */
+-typedef    unsigned short       word;   /* unsigned 16-bit integer */
+-typedef    unsigned long        dword;  /* unsigned 32-bit integer */ 
++typedef    uint8_t        byte;   /* unsigned 8-bit integer */
++typedef    uint16_t       word;   /* unsigned 16-bit integer */
++typedef    uint32_t       dword;  /* unsigned 32-bit integer */ 
+ /********************************************************************/
This page took 0.086801 seconds and 4 git commands to generate.