summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-11-23 10:13:39 -0500
committerOle Trøan <otroan@employees.org>2019-11-24 13:18:45 +0000
commitb307c712f459f90d8a585fe51ba15ac8b931cdbe (patch)
treeb567d9c1765e487ea8e0fffbcdc4842c6564fda1 /src
parent1c200dc492c02b1bf827e627f5a190b911fb34ec (diff)
vppapigen: fix i64 format string
Type: fix Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com> Change-Id: I6b42bb9fb9d2e57f523022e321770bb1ff7415f3
Diffstat (limited to 'src')
-rw-r--r--src/tools/vppapigen/vppapigen_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/vppapigen/vppapigen_c.py b/src/tools/vppapigen/vppapigen_c.py
index 49405e8e085..64f023b9217 100644
--- a/src/tools/vppapigen/vppapigen_c.py
+++ b/src/tools/vppapigen/vppapigen_c.py
@@ -117,7 +117,7 @@ format_strings = {'u8': '%u',
'u32': '%u',
'i32': '%ld',
'u64': '%llu',
- 'i64': '%llu',
+ 'i64': '%lld',
'f64': '%.2f'}
noprint_fields = {'_vl_msg_id': None,