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); }