summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/vppapigen')
-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,