blob: e0d5365610d655ba5b8c613809258e547ee6851f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
$NetBSD: patch-ca,v 1.2 2011/07/05 03:27:22 dholland Exp $
Use correct sized types.
--- tvtypes.h.orig 2008-01-15 18:31:30.000000000 -0500
+++ tvtypes.h 2008-01-15 18:32:33.000000000 -0500
@@ -34,12 +34,12 @@
#include <math.h>
#include <string.h>
-typedef unsigned char TV_UINT8;
-typedef signed char TV_INT8;
-typedef unsigned short TV_UINT16;
-typedef short TV_INT16;
-typedef unsigned long TV_UINT32;
-typedef long TV_INT32;
+typedef uint8_t TV_UINT8;
+typedef int8_t TV_INT8;
+typedef uint16_t TV_UINT16;
+typedef int16_t TV_INT16;
+typedef uint32_t TV_UINT32;
+typedef int32_t TV_INT32;
typedef TV_INT32 TV_BOOL;
|