mirror of https://github.com/mkerrisk/man-pages
fopencookie.3: printf()'s .* expects an int; cast accordingly
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7497e9d8c8
commit
a1eb1a6a33
|
@ -438,7 +438,7 @@ main(int argc, char *argv[])
|
|||
break;
|
||||
}
|
||||
|
||||
printf("/%.*s/\en", nread, buf);
|
||||
printf("/%.*s/\en", (int) nread, buf);
|
||||
}
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
|
|
Loading…
Reference in New Issue