Skip to content

Commit

Permalink
fix compile error in macos
Browse files Browse the repository at this point in the history
  • Loading branch information
wangshao1 committed Dec 20, 2023
1 parent 5a56ba7 commit 6345214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/benchmark_client/benchmark_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ Status RunLRangeCommand(redisContext* c, ThreadArg* arg) {

void* ThreadMain(void* arg) {
ThreadArg* ta = reinterpret_cast<ThreadArg*>(arg);
last_seed = (int)pthread_self();
last_seed = arg->idx;

if (FLAGS_command == "generate") {
RunGenerateCommand(ta->idx);
Expand Down

0 comments on commit 6345214

Please sign in to comment.