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

--- src/ima_adpcm.c.orig	2004-06-16 10:17:04.000000000 +0000
+++ src/ima_adpcm.c
@@ -37,7 +37,7 @@ typedef struct IMA_ADPCM_PRIVATE_tag
 	unsigned char	*block ;
 	short			*samples ;
 #if HAVE_FLEXIBLE_ARRAY
-	unsigned short	data	[] ; /* ISO C99 struct flexible array. */
+	unsigned short	*data ; /* ISO C99 struct flexible array. */
 #else
 	unsigned short	data	[1] ; /* This is a hack and might not work. */
 #endif