r665 - trunk/code/tools/lcc/cpp

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Mar 24 11:28:07 EST 2006


Author: tma
Date: 2006-03-24 11:28:07 -0500 (Fri, 24 Mar 2006)
New Revision: 665

Modified:
   trunk/code/tools/lcc/cpp/unix.c
Log:
* Fix a warning introduced by the recent LCC fix


Modified: trunk/code/tools/lcc/cpp/unix.c
===================================================================
--- trunk/code/tools/lcc/cpp/unix.c	2006-03-24 07:39:48 UTC (rev 664)
+++ trunk/code/tools/lcc/cpp/unix.c	2006-03-24 16:28:07 UTC (rev 665)
@@ -19,7 +19,7 @@
 	char *fp, *dp;
 	Tokenrow tr;
 	extern void setup_kwtab(void);
-	char *includeDirs[ NINCLUDE ] = { 0 };
+	uchar *includeDirs[ NINCLUDE ] = { 0 };
 	int   numIncludeDirs = 0;
 
 	setup_kwtab();
@@ -77,7 +77,7 @@
 	includelist[NINCLUDE-1].file = dp;
 
 	for( i = 0; i < numIncludeDirs; i++ )
-		appendDirToIncludeList( includeDirs[ i ] );
+		appendDirToIncludeList( (char *)includeDirs[ i ] );
 
 	setsource(fp, fd, NULL);
 }




More information about the quake3-commits mailing list