Fix off-by-one error.
authorGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 30 Oct 1993 17:53:48 +0000 (17:53 +0000)
committerGuillermo J. Rozas <edu/mit/csail/zurich/gjr>
Sat, 30 Oct 1993 17:53:48 +0000 (17:53 +0000)
v7/src/microcode/cmpauxmd/c.c

index 02a5897bb621904ea25cdbd1335b1d87e56865a4..ff5fcc6665b478e3aabf1542d666e76111a2f929 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-C-*-
 
-$Id: c.c,v 1.7 1993/10/30 03:01:30 gjr Exp $
+$Id: c.c,v 1.8 1993/10/30 17:53:48 gjr Exp $
 
 Copyright (c) 1992-1993 Massachusetts Institute of Technology
 
@@ -207,7 +207,7 @@ DEFUN (declare_compiled_code,
     /* Wrap around */
     return (-1);
     
-  if (n_dispatch > compiled_entries_size)
+  if (n_dispatch >= compiled_entries_size)
   {
     struct compiled_entry_s * new_entries;
     unsigned long new_entries_size = ((compiled_entries_size == 0)