diff --git a/demo-serving/op/ctr_prediction_op.cpp b/demo-serving/op/ctr_prediction_op.cpp index 806dbc7c87b20271d68c7c0c590c889d4dff622e..7253e2eba4e5df8a3026c0d324d8b948fc5b1578 100644 --- a/demo-serving/op/ctr_prediction_op.cpp +++ b/demo-serving/op/ctr_prediction_op.cpp @@ -133,7 +133,7 @@ int CTRPredictionOp::inference() { for (int j = 0; j < values[i].buff.size(); ++j) { oss << std::hex << std::uppercase << std::setw(2) << std::setfill('0') - << (reinterpret_cast(value[j]) & 0xff); + << (static_cast(value[j]) & 0xff); } LOG(INFO) << oss.str().c_str();