summaryrefslogtreecommitdiff
path: root/audio/libsndfile/patches/patch-ab
blob: bf721a06b25c2e0d6d08728853f27267e5141441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.4 2004/06/28 08:14:03 adam Exp $

--- src/common.h.orig	2004-06-16 10:17:04.000000000 +0000
+++ src/common.h
@@ -118,7 +118,7 @@ typedef struct
 {	unsigned int	version ;	/* version of the PEAK chunk */
 	unsigned int	timestamp ;	/* secs since 1/1/1970  */
 #if HAVE_FLEXIBLE_ARRAY
-	PEAK_POS		peaks [] ;	/* the per channel peak info */
+	PEAK_POS		*peaks ;	/* the per channel peak info */
 #else
 	PEAK_POS		peaks [1] ;	/* the per channel peak info */
 #endif