[Sumover-dev] [svn commit] r3774 - vic/trunk

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Fri Jul 21 12:48:49 BST 2006


Author: socrates
Date: Fri Jul 21 12:48:49 2006
New Revision: 3774

Modified:
   vic/trunk/strtol.c

Log:
Got rid of multiple Windows compile-time warnings (VS7.0).

Modified: vic/trunk/strtol.c
==============================================================================
--- vic/trunk/strtol.c	(original)
+++ vic/trunk/strtol.c	Fri Jul 21 12:48:49 2006
@@ -82,7 +82,7 @@
      */
     if (*p == '-') {
 	p += 1;
-	result = -(strtoul(p, endPtr, base));
+	result = -1*(strtoul(p, endPtr, base));
     } else {
 	if (*p == '+') {
 	    p += 1;



More information about the Sumover-dev mailing list