changeset 7445:6636813345ea

Fix mistakes in previous revisions.
author Bruno Haible <bruno@clisp.org>
date Mon, 18 Dec 2006 13:19:12 +0000
parents 59373e106e46
children c106e354aebe
files lib/diffseq.h lib/fstrcmp.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/diffseq.h	Sat Oct 07 17:43:37 2006 +0000
+++ b/lib/diffseq.h	Mon Dec 18 13:19:12 2006 +0000
@@ -50,7 +50,7 @@
 
 /* Maximum value of type OFFSET.  */
 #define OFFSET_MAX \
-  ((((OFFSET)1 << (sizeof (OFFSET_MAX) * CHAR_BIT - 2)) - 1) * 2 + 1)
+  ((((OFFSET)1 << (sizeof (OFFSET) * CHAR_BIT - 2)) - 1) * 2 + 1)
 
 /* Use this to suppress gcc's `...may be used before initialized' warnings. */
 #ifndef IF_LINT
--- a/lib/fstrcmp.c	Sat Oct 07 17:43:37 2006 +0000
+++ b/lib/fstrcmp.c	Mon Dec 18 13:19:12 2006 +0000
@@ -382,9 +382,9 @@
       if (c >= ctxt->too_expensive)
 	{
 	  OFFSET fxybest;
-	  OFFSET fxbest IF_LINT (= 0;
+	  OFFSET fxbest IF_LINT (= 0);
 	  OFFSET bxybest;
-	  OFFSET bxbest IF_LINT (= 0;
+	  OFFSET bxbest IF_LINT (= 0);
 
 	  /* Find forward diagonal that maximizes X + Y.  */
 	  fxybest = -1;