~ubuntu-branches/ubuntu/vivid/fribidi/vivid

« back to all changes in this revision

Viewing changes to patches/correct-types.diff

  • Committer: Bazaar Package Importer
  • Author(s): Lior Kaplan
  • Date: 2006-09-16 10:37:10 UTC
  • mfrom: (3.1.3 edgy)
  • Revision ID: james.westby@ubuntu.com-20060916103710-1ktngzyx9azkujhl
Tags: 0.10.7-4
* Fix manual page name section (Closes: #368632)
* debian/control: Upgrade standards version to 3.7.2 (no changes needed).
* debian/copyright: Update Dov Grobgeld's contact address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
diff -Nur fribidi-0.10.4.orig/fribidi_mem.h fribidi-0.10.4/fribidi_mem.h
2
 
--- fribidi-0.10.4.orig/fribidi_mem.h   2004-10-25 07:18:45.000000000 +0100
3
 
+++ fribidi-0.10.4/fribidi_mem.h        2004-10-25 07:24:46.000000000 +0100
4
 
@@ -23,6 +23,7 @@
5
 
 #define FRIBIDI_MEM_H
6
 
 
7
 
 #include <stdlib.h>
8
 
+#include <stdint.h>
9
 
 
10
 
 #include "fribidi_config.h"
11
 
 
12
 
@@ -31,21 +32,16 @@
13
 
 {
14
 
 #endif
15
 
 
16
 
-#define FRIBIDI_INT8   char
17
 
-#define FRIBIDI_INT16  short
18
 
-#define FRIBIDI_INT32  long
19
 
-#define FRIBIDI_INT    int
20
 
-
21
 
   typedef int fribidi_boolean;
22
 
 
23
 
-  typedef signed FRIBIDI_INT8 fribidi_int8;
24
 
-  typedef unsigned FRIBIDI_INT8 fribidi_uint8;
25
 
-  typedef signed FRIBIDI_INT16 fribidi_int16;
26
 
-  typedef unsigned FRIBIDI_INT16 fribidi_uint16;
27
 
-  typedef signed FRIBIDI_INT32 fribidi_int32;
28
 
-  typedef unsigned FRIBIDI_INT32 fribidi_uint32;
29
 
-  typedef signed FRIBIDI_INT fribidi_int;
30
 
-  typedef unsigned FRIBIDI_INT fribidi_uint;
31
 
+  typedef int8_t fribidi_int8;
32
 
+  typedef uint8_t fribidi_uint8;
33
 
+  typedef int16_t fribidi_int16;
34
 
+  typedef uint16_t fribidi_uint16;
35
 
+  typedef int32_t fribidi_int32;
36
 
+  typedef uint32_t fribidi_uint32;
37
 
+  typedef int fribidi_int;
38
 
+  typedef unsigned int fribidi_uint;
39
 
 
40
 
 #define FRIBIDI_TRUE   1
41
 
 #define FRIBIDI_FALSE  0