Skip to content

Commit

Permalink
changed calling of int to uint (triton-inference-server#4923)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkyang-nvi authored Sep 26, 2022
1 parent 4ad5889 commit 18c684f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grpc_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3399,8 +3399,8 @@ InferGRPCToInput(
RETURN_IF_ERR(InferGRPCToInputHelper(
io.name(), request.model_name(), TRITONSERVER_TYPE_UINT32,
dtype, byte_size));
base = (const void*)io.contents().int_contents().data();
byte_size = io.contents().int_contents_size() * elem_byte_size;
base = (const void*)io.contents().uint_contents().data();
byte_size = io.contents().uint_contents_size() * elem_byte_size;
}
}

Expand Down

0 comments on commit 18c684f

Please sign in to comment.