Skip to content

Commit 630ff87

Browse files
authored
Update ngx_http_auth_jwt_module.c
1 parent 4f21b48 commit 630ff87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_auth_jwt_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ loadAuthKey(ngx_conf_t *cf, ngx_http_auth_jwt_loc_conf_t* conf) {
435435
}
436436

437437
conf->_auth_jwt_keyfile.data = ngx_palloc(cf->pool, keySize);
438-
if(fread(conf->_auth_jwt_keyfile.data, 1, keySize, keyFile) != (int)keySize) {
438+
if((int)fread(conf->_auth_jwt_keyfile.data, 1, keySize, keyFile) != (int)keySize) {
439439
ngx_log_error(NGX_LOG_ERR, cf->log, 0, "error reading key file, check the key file");
440440
return NGX_ERROR;
441441
}

0 commit comments

Comments
 (0)