From 58a24b1c56d0d9db2aff1eedfb3ab79ea95718cb Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期三, 28 六月 2017 11:22:39 +0800 Subject: [PATCH] modify proto --- FaceServer/proto_hton_ntoh.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/FaceServer/proto_hton_ntoh.cpp b/FaceServer/proto_hton_ntoh.cpp index 6abf5c2..ccc2da9 100644 --- a/FaceServer/proto_hton_ntoh.cpp +++ b/FaceServer/proto_hton_ntoh.cpp @@ -66,10 +66,12 @@ { db_id = htonl(db_id); st_id = htonl(st_id); + confidence = htons(confidence); } void FDP_FaceDetectResult::ntoh() { db_id = ntohl(db_id); st_id = ntohl(st_id); + confidence = ntohs(confidence); } -- Gitblit v1.8.0