stratagus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Stratagus-CVS] stratagus/src clone/ccl_helpers.c ai/ccl_ai.c


From: Russell Smith
Subject: [Stratagus-CVS] stratagus/src clone/ccl_helpers.c ai/ccl_ai.c
Date: Fri, 24 Oct 2003 01:22:30 -0400

CVSROOT:        /cvsroot/stratagus
Module name:    stratagus
Branch:         
Changes by:     Russell Smith <address@hidden>  03/10/24 01:22:30

Modified files:
        src/clone      : ccl_helpers.c 
        src/ai         : ccl_ai.c 

Log message:
        Fix Win32 Compile errors

Patches:
Index: stratagus/src/ai/ccl_ai.c
diff -u stratagus/src/ai/ccl_ai.c:1.70 stratagus/src/ai/ccl_ai.c:1.71
--- stratagus/src/ai/ccl_ai.c:1.70      Thu Oct 23 15:15:09 2003
+++ stratagus/src/ai/ccl_ai.c   Fri Oct 24 01:22:29 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: ccl_ai.c,v 1.70 2003/10/23 19:15:09 n0body Exp $
+//      $Id: ccl_ai.c,v 1.71 2003/10/24 05:22:29 mr-russ Exp $
 
 //@{
 
@@ -1098,7 +1098,7 @@
 **     Give the number of the script specific force.
 **
 */
-local SCM CclAiOwnForce()
+local SCM CclAiOwnForce(void)
 {
     return gh_int2scm( AiScript->ownForce );
 }
@@ -1529,7 +1529,7 @@
 }
 
 // Just hang...
-local SCM CclAiIdle()
+local SCM CclAiIdle(void)
 {
     return SCM_BOOL_T;
 }
@@ -1721,13 +1721,13 @@
     return SCM_BOOL_F;
 }
 
-local SCM CclAiComputeGauges()
+local SCM CclAiComputeGauges(void)
 {
     AiComputeCurrentScriptGauges();
     return SCM_BOOL_F;
 }
 
-local SCM CclAiDebugGauges()
+local SCM CclAiDebugGauges(void)
 {
     AiDebugGauges();
     return SCM_BOOL_F;
Index: stratagus/src/clone/ccl_helpers.c
diff -u stratagus/src/clone/ccl_helpers.c:1.2 
stratagus/src/clone/ccl_helpers.c:1.3
--- stratagus/src/clone/ccl_helpers.c:1.2       Thu Oct 23 19:31:28 2003
+++ stratagus/src/clone/ccl_helpers.c   Fri Oct 24 01:22:29 2003
@@ -26,7 +26,7 @@
 //      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //      02111-1307, USA.
 //
-//      $Id: ccl_helpers.c,v 1.2 2003/10/23 23:31:28 mr-russ Exp $
+//      $Id: ccl_helpers.c,v 1.3 2003/10/24 05:22:29 mr-russ Exp $
 
 //@{
 
@@ -196,7 +196,7 @@
            IOStruct(gh_car(from), binaryform, para);
 
            from = gh_cdr(from);
-           binaryform += def->size;
+           (char*)binaryform += def->size;
        }
     } else {
        CLprintf(IOOutFile, " (\n");
@@ -205,7 +205,7 @@
            IOPrintTabs();
            IOStruct(from, binaryform, para);
            CLprintf(IOOutFile, "\n");
-           binaryform += def->size;
+           (char*)binaryform += def->size;
        }
        --IOTabLevel;
        IOPrintTabs();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]