Closed
Bug 9247
Opened 26 years ago
Closed 26 years ago
Compiler warnings in mozilla/network/cache/mkcache.c, extcache.c
Categories
(Core :: Networking: Cache, defect, P3)
Tracking
()
VERIFIED
FIXED
M10
People
(Reporter: kherron+mozilla, Assigned: gagan)
Details
Attachments
(3 files)
|
2.66 KB,
patch
|
Details | Diff | Splinter Review | |
|
590 bytes,
patch
|
Details | Diff | Splinter Review | |
|
3.41 KB,
patch
|
Details | Diff | Splinter Review |
Much of this was prompted by the fact that size_t is unsigned on linux, so
using an int where a size_t is expected (e.g. the argument to malloc())
generates a compiler warning.
extcache.c: Patch removes about eleven warnings. Also, the return value of
net_GetInt32InCacheDBT() was a time_t where it seemed it should be an int32;
the patch fixes that.
extcache.h: Patch corrects the prototype for net_GetInt32etc. to match
extcache.c.
mkcache.c: corrects the definition of the PUT_PART() macro. This macro is
used about 30 times and each use generated a warning. Patch also fixes
several other minor issues.
| Reporter | ||
Comment 1•26 years ago
|
||
| Reporter | ||
Comment 2•26 years ago
|
||
| Reporter | ||
Comment 3•26 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Bulk move of all Cache (to be deleted component) bugs to new Networking: Cache
component.
You need to log in
before you can comment on or make changes to this bug.
Description
•