blob: ef9ae663b9c6341b3746ae1ee261d56714d0eaf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-af,v 1.1 2004/01/20 02:48:33 jschauma Exp $
--- progs/xdemos/glxswapcontrol.c.orig 2004-01-19 20:16:07.000000000 -0500
+++ progs/xdemos/glxswapcontrol.c 2004-01-19 20:16:26.000000000 -0500
@@ -645,7 +645,7 @@
* other in the string.
*/
- string_tab[ idx ] = malloc( sizeof( char ) * (i + 1) );
+ string_tab[ idx ] = (char *)malloc( sizeof( char ) * (i + 1) );
if ( string_tab[ idx ] == NULL ) {
return;
}
|