Skip to content

Commit

Permalink
silence compile warning by using ssize_t
Browse files Browse the repository at this point in the history
  • Loading branch information
wkliao committed Oct 24, 2024
1 parent 07c8053 commit c1b24df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ncmpidump/ncmpidump.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ enum FILE_KIND check_file_signature(char *path)
char *hdf5_signature="\211HDF\r\n\032\n";
char signature[8];
int fd;
size_t rlen;
ssize_t rlen;

if ((fd = open(path, O_RDONLY, 0700)) == -1) {
fprintf(stderr,"%s error at opening file %s (%s)\n",progname,path,strerror(errno));
Expand Down

0 comments on commit c1b24df

Please sign in to comment.