Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Changed data type of return value for read to ssize_t from size_t.
Browse files Browse the repository at this point in the history
Signed-off-by: Papan Kumar Singh <papan.kumarsingh@seagate.com>
  • Loading branch information
papan-singh authored and rkothiya committed Jul 2, 2022
1 parent 91f77a1 commit 12ecf22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spiel/ut/spiel_conf_ut.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static int spiel_copy_file(const char *source, const char* dest)
char buf[1024];
int in_fd;
int out_fd;
size_t result;
ssize_t result;
int rc = 0;

in_fd = open(source, O_RDONLY);
Expand Down

0 comments on commit 12ecf22

Please sign in to comment.