Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Thu, 14 Jun 2001 18:23:24 +0000 (18:23 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Thu, 14 Jun 2001 18:23:24 +0000 (18:23 +0000)
Log message:

Finally fix the long-standing compile warning in table_gen.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@502 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/table_gen.c

index eaa652fd7884518b650cd3701bbc932c5fde787b..f8303035a3e683565911f3cebc7e6d545593662d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-06-14  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/table_gen.c (makeTables): finally got tired of the
+       "overflow in implicit conversion" warning, so just got rid of it
+       by explicitly casting UCHAR_MAX to a (default) char; diffs show no
+       differences in the tables generated
+
 2001-06-11  Kevin L. Mitchell  <klmitch@mit.edu>
 
        * ircd/send.c (sendcmdto_match_butone): don't let the server crash
index 3ba8da44fb68144673b5b5bb80cc605b1bec9cc7..7a1cd775c1dae516bddca20ff146c907ef1c7a18 100644 (file)
@@ -98,7 +98,7 @@ static void makeTables(void)
   moveMacro(NTL_GRAPH, NTL_PRINT);
   markString(NTL_PRINT, " ");
 
-  markRange(NTL_IRCCH, 0, UCHAR_MAX);
+  markRange(NTL_IRCCH, 0, (char) UCHAR_MAX);
   unMarkString(NTL_IRCCH, "\007\040\054\240");
 
   markRange(NTL_IRCCL, '\300', '\326');