summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-11-19 23:30:53 -0500
committerDave Wallace <dwallacelf@gmail.com>2020-08-12 01:22:20 +0000
commitec1e751445d1e068f4f312b70ce2f67e10e42ca6 (patch)
tree003c46fcf3a80b964b92449649cb2ec0c55c6f55 /src
parent51b95951ba6819cc71b25f7c12e8f59f639c0d2e (diff)
vppapigen: fix typo on f64 endian_string
Type: fix Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com> Change-Id: Id47e3f2c348f07c84d9c2499122fa25d6c74fb13 (cherry picked from commit 1c200dc492c02b1bf827e627f5a190b911fb34ec)
Diffstat (limited to 'src')
-rw-r--r--src/tools/vppapigen/vppapigen_c.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/vppapigen/vppapigen_c.py b/src/tools/vppapigen/vppapigen_c.py
index a97d01b6805..cfb462dd0fa 100644
--- a/src/tools/vppapigen/vppapigen_c.py
+++ b/src/tools/vppapigen/vppapigen_c.py
@@ -229,10 +229,10 @@ endian_strings = {
'u16': 'clib_net_to_host_u16',
'u32': 'clib_net_to_host_u32',
'u64': 'clib_net_to_host_u64',
- 'i16': 'clib_net_to_host_u16',
- 'i32': 'clib_net_to_host_u32',
- 'i64': 'clib_net_to_host_u64',
- 'f64': 'clib_net_to_host_u64',
+ 'i16': 'clib_net_to_host_i16',
+ 'i32': 'clib_net_to_host_i32',
+ 'i64': 'clib_net_to_host_i64',
+ 'f64': 'clib_net_to_host_f64',
}