mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-04-09 10:38:05 -05:00
Type casting of the read() return value
This commit is contained in:
parent
16c5e5aa4a
commit
aa8c8dd720
@ -3737,7 +3737,7 @@ static int read_password(GLOBAL_OPTIONS *options)
|
|||||||
|
|
||||||
if (options->readpass) {
|
if (options->readpass) {
|
||||||
if (!strcmp(options->readpass, "-")) {
|
if (!strcmp(options->readpass, "-")) {
|
||||||
passlen = read(fileno(stdin), passbuf, sizeof(passbuf)-1);
|
passlen = (int)read(fileno(stdin), passbuf, sizeof(passbuf)-1);
|
||||||
} else {
|
} else {
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
HANDLE fhandle, fmap;
|
HANDLE fhandle, fmap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user