Skip to content

Commit

Permalink
Fix sol_memset to return the correct value. (solana-labs#26598)
Browse files Browse the repository at this point in the history
  • Loading branch information
bji authored Jul 14, 2022
1 parent 819d651 commit 61fd928
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/bpf/c/inc/sol/string.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ static void *sol_memset(void *b, int c, size_t len) {
a++;
len--;
}
return b;
}

/**
Expand Down

0 comments on commit 61fd928

Please sign in to comment.