diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-30 17:41:51 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1998-09-30 17:41:51 +0000 |
commit | d01d12b9273c7f00c97054b8f801794cfcf56bb9 (patch) | |
tree | 12ad64c644e02ca7a381a930fbaa3335586028bf /apps | |
parent | bf228a58f2ec8c9dbaa4cb1405460a801b2e6c12 (diff) | |
download | ATCD-d01d12b9273c7f00c97054b8f801794cfcf56bb9.tar.gz |
.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gperf/ChangeLog | 5 | ||||
-rw-r--r-- | apps/gperf/src/Key_List.cpp | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/apps/gperf/ChangeLog b/apps/gperf/ChangeLog index b0cb7326412..4caffbb8d14 100644 --- a/apps/gperf/ChangeLog +++ b/apps/gperf/ChangeLog @@ -1,3 +1,8 @@ +Wed Sep 30 12:41:29 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> + + * src/Key_List.cpp (dump): Fixed another signed/unsigned int + mismatch. Thanks to David Levine for reporting this. + Mon Sep 28 13:18:05 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu> * tests: Updated all the test-*.exp files to reflect the diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp index 63333fe9deb..732d1d24d55 100644 --- a/apps/gperf/src/Key_List.cpp +++ b/apps/gperf/src/Key_List.cpp @@ -1498,8 +1498,9 @@ Key_List::dump (void) ? option.max_keysig_size () : ACE_OS::strlen ("keysig"); - int keyword_width = this->max_key_length () > ACE_OS::strlen ("keysig") - ? this->max_key_length () + u_int max_len = size_t (this->max_key_length ()); + size_t keyword_width = max_len > ACE_OS::strlen ("keysig") + ? max_len : ACE_OS::strlen ("keysig"); ACE_DEBUG ((LM_DEBUG, |