Skip to content

Commit c1b24df

Browse files
committed
silence compile warning by using ssize_t
1 parent 07c8053 commit c1b24df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/ncmpidump/ncmpidump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ enum FILE_KIND check_file_signature(char *path)
744744
char *hdf5_signature="\211HDF\r\n\032\n";
745745
char signature[8];
746746
int fd;
747-
size_t rlen;
747+
ssize_t rlen;
748748

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

0 commit comments

Comments
 (0)