summaryrefslogtreecommitdiff
path: root/audio/jack-devel/patches/patch-ap
blob: 3a03e68913577746a10ba8c4b50b470d71a0cba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ap,v 1.1 2008/03/17 02:31:10 bjs Exp $

--- jack/types.h.orig	2008-03-12 10:36:07.000000000 -0400
+++ jack/types.h
@@ -23,7 +23,7 @@
 
 #include <inttypes.h>
 
-typedef int32_t jack_shmsize_t;
+typedef size_t jack_shmsize_t;
 
 /**
  * Type used to represent sample frame counts.
@@ -33,7 +33,7 @@ typedef uint32_t	     jack_nframes_t;
 /**
  * Maximum value that can be stored in jack_nframes_t
  */
-#define JACK_MAX_FRAMES (4294967295U)	/* This should be UINT32_MAX, but
+#define JACK_MAX_FRAMES UINT32_MAX	/* This should be UINT32_MAX, but
 					   C++ has a problem with that. */
 
 /**