From: Jarda B. <edh...@us...> - 2004-03-29 23:53:32
|
Update of /cvsroot/gemrb/gemrb/gemrb/plugins/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21218/plugins/Core Modified Files: GameScript.cpp Log Message: Fix for gcc 3.3.3 Index: GameScript.cpp =================================================================== RCS file: /cvsroot/gemrb/gemrb/gemrb/plugins/Core/GameScript.cpp,v retrieving revision 1.121 retrieving revision 1.122 diff -C2 -d -r1.121 -r1.122 *** GameScript.cpp 28 Mar 2004 11:20:59 -0000 1.121 --- GameScript.cpp 29 Mar 2004 23:41:57 -0000 1.122 *************** *** 1445,1451 **** SKIP_ARGUMENT(); src++; //Skip [ ! newAction->XpointParameter = strtol( src, &(char *) src, 10 ); src++; //Skip . ! newAction->YpointParameter = strtol( src, &(char *) src, 10 ); src++; //Skip ] break; --- 1445,1451 ---- SKIP_ARGUMENT(); src++; //Skip [ ! newAction->XpointParameter = strtol( src, (char **) &src, 10 ); src++; //Skip . ! newAction->YpointParameter = strtol( src, (char **) &src, 10 ); src++; //Skip ] break; *************** *** 1472,1480 **** } else { ! value = strtol( src, &(char *) src, 0); } } else { //no IDS table ! value = strtol( src, &(char *) src, 0); } if (!intCount) { --- 1472,1480 ---- } else { ! value = strtol( src, (char **) &src, 0); } } else { //no IDS table ! value = strtol( src, (char **) &src, 0); } if (!intCount) { *************** *** 1641,1647 **** SKIP_ARGUMENT(); src++; //Skip [ ! newTrigger->XpointParameter = strtol( src, &(char *) src, 10 ); src++; //Skip . ! newTrigger->YpointParameter = strtol( src, &(char *) src, 10 ); src++; //Skip ] break; --- 1641,1647 ---- SKIP_ARGUMENT(); src++; //Skip [ ! newTrigger->XpointParameter = strtol( src, (char **) &src, 10 ); src++; //Skip . ! newTrigger->YpointParameter = strtol( src, (char **) &src, 10 ); src++; //Skip ] break; *************** *** 1668,1676 **** } else { ! value = strtol( src, &(char *) src, 0); } } else { //no IDS table ! value = strtol( src, &(char *) src, 0); } if (!intCount) { --- 1668,1676 ---- } else { ! value = strtol( src, (char **) &src, 0); } } else { //no IDS table ! value = strtol( src, (char **) &src, 0); } if (!intCount) { |