From 1c200dc492c02b1bf827e627f5a190b911fb34ec Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 19 Nov 2019 23:30:53 -0500 Subject: vppapigen: fix typo on f64 endian_string Type: fix Signed-off-by: Paul Vinciguerra Change-Id: Id47e3f2c348f07c84d9c2499122fa25d6c74fb13 --- src/tools/vppapigen/vppapigen_c.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tools/vppapigen/vppapigen_c.py b/src/tools/vppapigen/vppapigen_c.py index a7f4b7dd9b1..49405e8e085 100644 --- a/src/tools/vppapigen/vppapigen_c.py +++ b/src/tools/vppapigen/vppapigen_c.py @@ -359,10 +359,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', } -- cgit 1.2.3-korg