diff options
author | Guy Harris <guy@alum.mit.edu> | 2020-04-29 11:24:45 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-04-29 19:11:16 +0000 |
commit | 928bbf5984ee8b81e960c3d53c1d8d2e1bc2bdbf (patch) | |
tree | 4c948417cd1e6b97e9761a21f460a2987c21d108 /.gitattributes | |
parent | 0eb92d7aa0fca23cafb675f6140861206ba48101 (diff) |
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@sonic.net>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <gharris@sonic.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions