diff options
author | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-09-09 03:41:53 +0000 |
---|---|---|
committer | kitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-09-09 03:41:53 +0000 |
commit | 58f7393ec27a10a03edc336b3be307f03ea9b36e (patch) | |
tree | 8341df723f668f38a63bdc1e9cb74408cf5c292a /apps | |
parent | 8570f7af0a8b92d43832b2d052a541756ac57300 (diff) | |
download | ATCD-58f7393ec27a10a03edc336b3be307f03ea9b36e.tar.gz |
Sat Sep 8 22:40:21 2001 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gperf/ChangeLog | 14 | ||||
-rw-r--r-- | apps/gperf/src/Key_List.cpp | 2 |
2 files changed, 11 insertions, 5 deletions
diff --git a/apps/gperf/ChangeLog b/apps/gperf/ChangeLog index 62b4cca8a20..3777620a471 100644 --- a/apps/gperf/ChangeLog +++ b/apps/gperf/ChangeLog @@ -1,15 +1,21 @@ +Sat Sep 8 22:40:21 2001 Krishnakumar B <kitty@cs.wustl.edu> + + * src/Key_List.cpp (output_lookup_array): + + Removed a compilation warning on 64-bit Linux. + Sun Jul 29 12:17:55 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu> * The following changes fix a bug reported by Karl Proese <karl.proese@mchp.siemens.de> and Jeff Parsons. - + * tests: Patched the *.exp files to include the new WORDLIST_SIZE macro. - + * src/Key_List.cpp: Generate a new const/enum that defines the size of the wordlist array. This is now used to fix a nasty bug where MAX_HASH_VALUE was used instead of WORDLIST_SIZE. - + * src/Key_List.cpp (output_lookup_array): Reformatted the debugging output to make it easier to tell what's going on. @@ -21,7 +27,7 @@ Sun Jul 29 12:17:55 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu> contents of this file. In particular, this should detect certain nasty bugs that were plaguing GPERF earlier for keyword sets with a large number of duplicates. - + * src/Key_List.cpp (read_keys): Clarified the debugging message to indicate the key links are *static*. diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp index 73517232eb0..19f856148d8 100644 --- a/apps/gperf/src/Key_List.cpp +++ b/apps/gperf/src/Key_List.cpp @@ -1472,7 +1472,7 @@ Key_List::output_lookup_array (void) ACE_OS::printf (" %*d, /* slot = %d */\n", Key_List::field_width, *lookup_ptr, - lookup_ptr - lookup_array); + (int)(lookup_ptr - lookup_array)); else ACE_OS::printf ("%*d, %s", Key_List::field_width, |