summaryrefslogtreecommitdiff
path: root/multimedia/mjpegtools/patches/patch-ar
blob: 4e0323acbc7eeebac2947dd0b70865c335307d95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ar,v 1.1 2005/05/28 00:05:39 reed Exp $
error: array bound forbidden after parenthesized type-id

--- ./mpeg2enc/picture.cc.orig	Fri May 27 16:01:27 2005
+++ ./mpeg2enc/picture.cc	Fri May 27 16:01:57 2005
@@ -83,9 +83,9 @@
     }
 
 
-	curref = new (uint8_t *)[5];
-	curorg = new (uint8_t *)[5];
-	pred   = new (uint8_t *)[5];
+	curref = new uint8_t *[5];
+	curorg = new uint8_t *[5];
+	pred   = new uint8_t *[5];
 
 	for( i = 0 ; i<3; i++)
 	{