rev 188 - in trunk: include/prothon src

SVN User <[email protected]>
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-03-28 15:03:49 -0500 (Sun, 28 Mar 2004)
New Revision: 188

Modified:
   trunk/include/prothon/prothon.h
   trunk/src/prothon.y
Log:
fixed warning in prothon.y

Modified: trunk/include/prothon/prothon.h
===================================================================
--- trunk/include/prothon/prothon.h	2004-03-28 19:48:55 UTC (rev 187)
+++ trunk/include/prothon/prothon.h	2004-03-28 20:03:49 UTC (rev 188)
@@ -52,7 +52,7 @@
 
 
 // Prothon.h
-
+ 
 #ifndef PROTHON_H
 #define PROTHON_H
 

Modified: trunk/src/prothon.y
===================================================================
--- trunk/src/prothon.y	2004-03-28 19:48:55 UTC (rev 187)
+++ trunk/src/prothon.y	2004-03-28 20:03:49 UTC (rev 188)
@@ -458,7 +458,7 @@
 		{ $$ = binary(yylex_param, $1, __NOTIN__, $4); }
 	
 	| 	expr IS is_not_check expr
-		{ $$ = binary(yylex_param, $1, (int)(unsigned long)$3, $4); }
+		{ $$ = binary(yylex_param, $1, (int)(intptr_t)$3, $4); }
 	
 	|	NOT expr
 		{ $$ = unary(yylex_param, __NOT__, $2); }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.