Fix off-by-one error in definition of MAX_LINENO and MAX_LOC_SIZE.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@239 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_symtab2.c b/coregrind/vg_symtab2.c
index cc37053..d7257a4 100644
--- a/coregrind/vg_symtab2.c
+++ b/coregrind/vg_symtab2.c
@@ -83,10 +83,10 @@
 
 #define LINENO_BITS     20
 #define LOC_SIZE_BITS  (32 - LINENO_BITS)
-#define MAX_LINENO     (1 << LINENO_BITS)
+#define MAX_LINENO     ((1 << LINENO_BITS) - 1)
 
 /* Unlikely to have any lines with instruction ranges > 4096 bytes */
-#define MAX_LOC_SIZE   (1 << LOC_SIZE_BITS)
+#define MAX_LOC_SIZE   ((1 << LOC_SIZE_BITS) - 1)
 
 /* Number used to detect line number overflows;  if one line is 60000-odd
  * smaller than the previous, is was probably an overflow.