rev 734 - in trunk: . src

SVN User <[email protected]> Tue, 13 Jul 2004 20:32:51 -0400
Newsgroups gmane.comp.lang.prothon.cvs
Message-ID <[email protected]>
Author: mark
Date: 2004-07-13 20:32:48 -0400 (Tue, 13 Jul 2004)
New Revision: 734

Modified:
   trunk/STATUS.txt
   trunk/src/prothon.y
Log:
fixed compile warning

Modified: trunk/STATUS.txt
===================================================================
--- trunk/STATUS.txt	2004-07-13 05:52:37 UTC (rev 733)
+++ trunk/STATUS.txt	2004-07-14 00:32:48 UTC (rev 734)
@@ -3,6 +3,8 @@
 
 --- check into tcl and twisted about async io
 
+--- -o optimize cmd-line option to remove asserts
+
 --- call_ does not respect properties
 
 --- "import as" broken

Modified: trunk/src/prothon.y
===================================================================
--- trunk/src/prothon.y	2004-07-13 05:52:37 UTC (rev 733)
+++ trunk/src/prothon.y	2004-07-14 00:32:48 UTC (rev 734)
@@ -755,7 +755,7 @@
 	
 	if (!state->token_buf_ptr) {
 	    apr_snprintf(state->token_buf, 120, "%d: ", state->line);
-	    state->token_buf_ptr = strlen(state->token_buf);
+	    state->token_buf_ptr = (int) strlen(state->token_buf);
 	}
 	
 	if (state->indents_needed > 0){