[sword-svn] r2002 - trunk/tests

dglassey at www.crosswire.org dglassey at www.crosswire.org
Sat Nov 25 08:33:03 MST 2006


Author: dglassey
Date: 2006-11-25 08:33:02 -0700 (Sat, 25 Nov 2006)
New Revision: 2002

Modified:
   trunk/tests/compzip.cpp
Log:
in C++ main must have return type int


Modified: trunk/tests/compzip.cpp
===================================================================
--- trunk/tests/compzip.cpp	2006-11-25 15:31:16 UTC (rev 2001)
+++ trunk/tests/compzip.cpp	2006-11-25 15:33:02 UTC (rev 2002)
@@ -83,7 +83,7 @@
 }
 
 
-main(int argc, char **argv)
+int main(int argc, char **argv)
 {
 	int decomp = 0;
 	SWCompress *fobj;
@@ -107,4 +107,5 @@
 	else fobj->Encode();
 
 	delete fobj;
+	return 0;
 }




More information about the sword-cvs mailing list