summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-05 23:24:43 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-05 23:24:43 +0000
commit226bf81818513f86e4fcd53e0e0273037d30312a (patch)
tree478dcdcdeaf74e79e18b8276ccd9b89c57b5193a
parent4b6baf1389171a687c3ca6afa047be8fc5f44cf3 (diff)
downloadATCD-226bf81818513f86e4fcd53e0e0273037d30312a.tar.gz
.
-rw-r--r--apps/gperf/ChangeLog5
-rw-r--r--apps/gperf/src/Key_List.cpp7
2 files changed, 9 insertions, 3 deletions
diff --git a/apps/gperf/ChangeLog b/apps/gperf/ChangeLog
index 25d5f4256a0..6959633dbd7 100644
--- a/apps/gperf/ChangeLog
+++ b/apps/gperf/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 5 18:24:15 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
+
+ * src/Key_List.cpp (dump): Fixed the unsigned problems with line
+ 1502 YET again... Thanks to David/Darrell for reporting this.
+
Sun Oct 4 20:42:56 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* src: Fixed yet another problem with switching from array-based
diff --git a/apps/gperf/src/Key_List.cpp b/apps/gperf/src/Key_List.cpp
index 76b8e3ae763..1e11109755e 100644
--- a/apps/gperf/src/Key_List.cpp
+++ b/apps/gperf/src/Key_List.cpp
@@ -1494,12 +1494,13 @@ Key_List::dump (void)
total_duplicates ? total_duplicates + 1 : 0,
max_key_len));
- int keysig_width = option.max_keysig_size () > ACE_OS::strlen ("keysig")
+ u_int keysig_width = option.max_keysig_size () > ACE_OS::strlen ("keysig")
? 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 key_length = this->max_key_length ();
+ u_int keyword_width = key_length > ACE_OS::strlen ("keysig")
+ ? key_length
: ACE_OS::strlen ("keysig");
ACE_DEBUG ((LM_DEBUG,