summaryrefslogtreecommitdiff
path: root/main/php_open_temporary_file.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-07-09 15:31:05 +0200
committerAnatol Belski <ab@php.net>2017-07-09 15:31:05 +0200
commit84079f4a1ef4c3c10ef81da33e75949ca8ab8347 (patch)
treeb1e9488d1009f1b2a5bc344c9fd1413ba3eb7d18 /main/php_open_temporary_file.c
parente403acc74b63d051ce8fd62f081c1302a720a590 (diff)
downloadphp-git-84079f4a1ef4c3c10ef81da33e75949ca8ab8347.tar.gz
cleanup casts
Diffstat (limited to 'main/php_open_temporary_file.c')
-rw-r--r--main/php_open_temporary_file.c2
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;
}