Skip to content

Commit

Permalink
tried (int) with size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
aavaa-farnood committed Nov 2, 2023
1 parent 6bd22c1 commit 6e31629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp_package/src/board_shim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ std::string BoardShim::config_board (std::string config)
int response_len = 0;
char response[8192];
int res = ::config_board (
config.c_str (), config.size(), response, &response_len, board_id, serialized_params.c_str ());
config.c_str (), (int) config.size(), response, &response_len, board_id, serialized_params.c_str ());
if (res != (int)BrainFlowExitCodes::STATUS_OK)
{
throw BrainFlowException ("failed to config board", res);
Expand Down

0 comments on commit 6e31629

Please sign in to comment.