Closed
Bug 158
Opened 27 years ago
Closed 24 years ago
warning fix : ns/nsprpub/pr/tests/thruput.c
Categories
(NSPR :: NSPR, defect, P3)
NSPR
NSPR
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: rick, Assigned: wtc)
Details
Created by Rick Osborne (rick@rixsoft.com) on Sunday, April 12, 1998 6:22:17 PM PDT
Additional Details :
(In the continuing quest to eliminate even compiler warnings
... )
Simple fix. Initial streams is always positive and some
equality tests were done agains another unsigned, so I
changed it to unsigend to stave off the warnings. Other
code only increments or converts from a command-line value.
(You can''t have negative streams, anyway, unless maybe
you''re in Bizarro-nix.)
--- thruput.old.c Wed Apr 08 17:55:15 1998
+++ thruput.c Sun Apr 12 02:56:23 1998
@@ -53,3 +53,3 @@
static PRInt32 xport_buffer = -1;
-static PRInt32 initial_streams = 1;
+static PRUint32 initial_streams = 1; /* no negative,
eliminate a warning */
static PRInt32 buffer_size = BUFFER_SIZE;
Updated by Wan-Teh Chang (wtc@netscape.com) on Friday, April 24, 1998 12:47:44 PM PDT
Additional Details :
Assigned the bug to myself. Closed the bug.
This is fixed in ns/nsprpub/pr/tests/thruput.c,
revision 3.2.
Comment 1•26 years ago
|
||
NSPR now has its own Bugzilla product. Moving this bug to the NSPR product.
Comment 3•24 years ago
|
||
marking fixed.
Status: REOPENED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•