Bruce Korb <[EMAIL PROTECTED]> writes:

> New in 5.8.9 - January, 2007
>
> Here are the 'NEWS' entries since the last release
>
> * GREP is now a configurable.  (Sheesh!)
> * options with hierarchical structure (nested values) had some
>   bugs in the config file parsing code.  Fixed.
> * Since YACC is not used any more, it is no longer required. :)
  * Crashes immediately.

--- loadPseudo.c        2007/01/29 10:44:43     1.1
+++ loadPseudo.c        2007/01/29 10:45:29
@@ -49,7 +49,7 @@ static te_pm_event
 findTokenType( tCC**  ppzData, te_pm_state fsm_state );
 
 static tCC*
-copyMarker( tCC* pzData, char* pzMark, int* pCt );
+copyMarker( tCC* pzData, char* pzMark, size_t* pCt );
 /* = = = END-STATIC-FORWARD = = = */
 
 
@@ -336,7 +336,7 @@ findTokenType( tCC**  ppzData, te_pm_sta
  *  as we find punctuation characters.
  */
 static tCC*
-copyMarker( tCC* pzData, char* pzMark, int* pCt )
+copyMarker( tCC* pzData, char* pzMark, size_t* pCt )
 {
     int ct = 0;
 
@@ -402,14 +402,14 @@ loadPseudoMacro( tCC* pzData, tCC* pzFil
         }
 
         case PM_TR_INIT_MARKER:
-            pzData = copyMarker( pzData, zStartMac, (int*)&startMacLen );
+            pzData = copyMarker( pzData, zStartMac, &startMacLen );
             if (pzData == NULL)
                 BAD_MARKER( zMarkErr );
 
             break;
 
         case PM_TR_TEMPL_MARKER:
-            pzData = copyMarker( pzData, zEndMac, (int*)&endMacLen );
+            pzData = copyMarker( pzData, zEndMac, &endMacLen );
             if (pzData == NULL)
                 BAD_MARKER( zMarkErr );
 

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Autogen-users mailing list
Autogen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/autogen-users

Reply via email to