Changeset 5322d6e in rtems
- Timestamp:
- Apr 13, 2010, 4:17:15 AM (10 years ago)
- Branches:
- 4.10, 4.11, master
- Children:
- d3d29749
- Parents:
- 4d0771e
- Location:
- cpukit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r4d0771e r5322d6e 1 2010-04-13 Ralf Corsépius <ralf.corsepius@rtems.org> 2 3 * shttpd/io_dir.c: Cast consts to size_t (Avoid overflows on implicit 4 const casts on 16bit targets). 5 1 6 2010-04-12 Ralf Corsépius <ralf.corsepius@rtems.org> 2 7 -
cpukit/shttpd/io_dir.c
r4d0771e r5322d6e 80 80 (void) my_snprintf(size, sizeof(size), 81 81 "%lu", (unsigned long) st.st_size); 82 else if (st.st_size < 1024 * 1024)82 else if (st.st_size < ((size_t)1024 * (size_t)1024)) 83 83 (void) my_snprintf(size, sizeof(size), "%luk", 84 84 (unsigned long) (st.st_size >> 10) + 1);
Note: See TracChangeset
for help on using the changeset viewer.