From 0e32d241f9ddd7e202879230585cb939dd3877b2 Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期二, 25 四月 2017 13:00:34 +0800 Subject: [PATCH] bug fix --- FaceServer/face_daemon_proto.h | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/FaceServer/face_daemon_proto.h b/FaceServer/face_daemon_proto.h index eb475b6..4bc6e34 100644 --- a/FaceServer/face_daemon_proto.h +++ b/FaceServer/face_daemon_proto.h @@ -31,8 +31,10 @@ int16_t height; uint8_t buff[0]; - void hton();//#todo + void hton(); + void ntoh(); }; +//sizeof(FDP_Image)=10 struct FDP_FaceDetectPB { @@ -41,7 +43,8 @@ FDP_FaceDetectPB(int32_t _db_id) : db_id(_db_id) {} - void hton();//#todo + void hton(); + void ntoh(); }; struct FDP_FaceDetectResult @@ -52,7 +55,8 @@ FDP_FaceDetectResult(int32_t _db_id, int32_t _st_id) : db_id(_db_id), st_id(_st_id) {} - void hton();//#todo + void hton(); + void ntoh(); }; #pragma pack() -- Gitblit v1.8.0