$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;
 	 }
