URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=49dace5ec9949ea1f55746b90feb2171c89d4c51
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark
Commits:
49dace5 by Guy Harris (guy@xxxxxxxxxxxx):
capinfos: fix absolute and relative time display.
Make the buffers big enough to handle the largest possible time values
you can get with a 64-bit time_t.
Don't cast the seconds value to unsigned long; it's probably signed, and
may not fit in an unsigned long (64-bit on an ILP32 or LLP64 platform),
so cast it to gint64 and print using G_GINT64_MODIFIER followed by "d".
Bug: 16519
Change-Id: I3ab79dfa086d2c4dfb6b93eba8cef3bdce731731
Reviewed-on: https://code.wireshark.org/review/36971
Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
(cherry picked from commit 928bbf5984ee8b81e960c3d53c1d8d2e1bc2bdbf)
Reviewed-on: https://code.wireshark.org/review/36973
Actions performed:
from 06d9c48 Docs+help: Remove "-m".
add 49dace5 capinfos: fix absolute and relative time display.
Summary of changes:
capinfos.c | 91 ++++++++++++++++++++++++++++++++++++++++++++------------------
1 file changed, 65 insertions(+), 26 deletions(-)