diff options
author | Anatol Belski <ab@php.net> | 2017-07-09 15:31:05 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-07-09 15:31:05 +0200 |
commit | 84079f4a1ef4c3c10ef81da33e75949ca8ab8347 (patch) | |
tree | b1e9488d1009f1b2a5bc344c9fd1413ba3eb7d18 /main/php_open_temporary_file.c | |
parent | e403acc74b63d051ce8fd62f081c1302a720a590 (diff) | |
download | php-git-84079f4a1ef4c3c10ef81da33e75949ca8ab8347.tar.gz |
cleanup casts
Diffstat (limited to 'main/php_open_temporary_file.c')
-rw-r--r-- | main/php_open_temporary_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_open_temporary_file.c b/main/php_open_temporary_file.c index 50107f6bb8..f2303882f4 100644 --- a/main/php_open_temporary_file.c +++ b/main/php_open_temporary_file.c @@ -114,7 +114,7 @@ static int php_do_open_temporary_file(const char *path, const char *pfx, zend_st } #ifdef PHP_WIN32 - if (!php_win32_check_trailing_space(pfx, (const int)strlen(pfx))) { + if (!php_win32_check_trailing_space(pfx, strlen(pfx))) { SetLastError(ERROR_INVALID_NAME); return -1; } |