From df145e032da5d3263c430b565fc905a3194931c0 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 2 Nov 2015 21:43:41 +0100 Subject: [PATCH] print UINT64/INT64 values in summary --- camlibs/ptp2/library.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 068c58933..9a696d404 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -4575,9 +4575,11 @@ _value_to_str(PTPPropertyValue *data, uint16_t dt, char *txt, int spaceleft) { return snprintf (txt, spaceleft, "%d", data->i32); case PTP_DTC_UINT32: return snprintf (txt, spaceleft, "%u", data->u32); + case PTP_DTC_INT64: + return snprintf (txt, spaceleft, "%lu", data->u64); + case PTP_DTC_UINT64: + return snprintf (txt, spaceleft, "%ld", data->i64); /* - PTP_DTC_INT64 - PTP_DTC_UINT64 PTP_DTC_INT128 PTP_DTC_UINT128 */